Skip to content

Commit

Permalink
fix: use Minitest instead of MiniTest
Browse files Browse the repository at this point in the history
  • Loading branch information
bradpurchase committed Oct 10, 2023
1 parent ea79ac7 commit 89a35f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/maxitest/autorun.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ class << Minitest::Test
end

# do not show maxitest as causing errors, but the last line in the users code
old = MiniTest::BacktraceFilter::MT_RE
MiniTest::BacktraceFilter.send(:remove_const, :MT_RE)
MiniTest::BacktraceFilter::MT_RE = Regexp.union(old, %r%lib/maxitest%)
old = Minitest::BacktraceFilter::MT_RE
Minitest::BacktraceFilter.send(:remove_const, :MT_RE)
Minitest::BacktraceFilter::MT_RE = Regexp.union(old, %r%lib/maxitest%)

0 comments on commit 89a35f0

Please sign in to comment.