summaryrefslogtreecommitdiff
path: root/test/minitest/test_mini_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/minitest/test_mini_spec.rb')
-rw-r--r--test/minitest/test_mini_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/minitest/test_mini_spec.rb b/test/minitest/test_mini_spec.rb
index 4fe5bad0487..f7cd60acda3 100644
--- a/test/minitest/test_mini_spec.rb
+++ b/test/minitest/test_mini_spec.rb
@@ -140,6 +140,7 @@ describe MiniTest::Spec do
end
it "needs to verify mismatch" do
+ @assertion_count = 6
"blah".wont_match(/\d+/).must_equal false
proc { "blah".wont_match(/\w+/) }.must_raise MiniTest::Assertion
end