From 89a35f0747b717cb7d3e730b348c18ff976f097e Mon Sep 17 00:00:00 2001 From: Brad Purchase <5716+bradpurchase@users.noreply.github.com> Date: Tue, 10 Oct 2023 09:51:22 -0400 Subject: [PATCH] fix: use Minitest instead of MiniTest --- lib/maxitest/autorun.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/maxitest/autorun.rb b/lib/maxitest/autorun.rb index b205b3d..2470fc9 100644 --- a/lib/maxitest/autorun.rb +++ b/lib/maxitest/autorun.rb @@ -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%)