Skip to content

Commit

Permalink
✅ Fixed crash testing expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed May 18, 2024
1 parent 0897bfc commit e74d45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/gcov/gcov_test_cases_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def can_create_html_reports_from_crashing_test_runner_with_enabled_debug_for_tes

output = `bundle exec ruby -S ceedling gcov:all 2>&1`
expect($?.exitstatus).to match(1) # Ceedling should exit with error because of failed test due to crash
expect(output).to match(/Test Executable Crashed/i)
expect(output).to match(/crashed/i)
expect(output).to match(/Unit test failures./)
expect(File.exist?('./build/gcov/results/test_example_file_crash.fail'))
output_rd = File.read('./build/gcov/results/test_example_file_crash.fail')
Expand Down

0 comments on commit e74d45c

Please sign in to comment.