Skip to content

Commit

Permalink
Update failed_tests_reporter.rb (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingur committed Mar 6, 2024
1 parent 04c944e commit c06abeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest_rerun_failed/failed_tests_reporter.rb
Expand Up @@ -68,7 +68,7 @@ def find_failure_location(test, curdir)
tmp_haystack << test.failure.location
tmp_haystack << test.to_s
# Add filtered backtrace unless it is an unexpected error, which do not have a useful trace
tmp_haystack << filter_backtrace(test.failure.backtrace).join unless test.failure.is_a?(MiniTest::UnexpectedError)
tmp_haystack << filter_backtrace(test.failure.backtrace).join unless test.failure.is_a?(Minitest::UnexpectedError)

# Get failure location as best we can from haystack
if @include_line_numbers
Expand Down

0 comments on commit c06abeb

Please sign in to comment.