Skip to content

Commit

Permalink
Replace MiniTest with Minitest
Browse files Browse the repository at this point in the history
- MiniTest constant is not declared anymore
  • Loading branch information
istana authored and barrettkingram committed Jul 27, 2023
1 parent b6d5a80 commit 4ef5c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest/reporters/base_reporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def print_info(e, name = true)

# When e is a Minitest::UnexpectedError, the filtered backtrace is already part of the message printed out
# by the previous line. In that case, and that case only, skip the backtrace output.
return if e.is_a?(MiniTest::UnexpectedError)
return if e.is_a?(Minitest::UnexpectedError)

trace = filter_backtrace(e.backtrace)
trace.each { |line| print_with_info_padding(line) }
Expand Down

0 comments on commit 4ef5c6b

Please sign in to comment.