summaryrefslogtreecommitdiff
path: root/test/test_prime.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-13 00:56:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-13 00:56:44 +0000
commitb16fc578520875842d91b1245cadf93ad8df516e (patch)
treed7f53805704d3361b95f6e6f7ebcfbd284219c5a /test/test_prime.rb
parentc84e52921968ddcca88ad58ab2d8bdc69c3e45ab (diff)
* test/syck/test_string.rb (Syck::TestString#test_non_binary_string):
use assert_not instead of refute, unless required minitest directly. * test/test_prime.rb (TestPrime::sieve.Integer): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_prime.rb')
-rw-r--r--test/test_prime.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_prime.rb b/test/test_prime.rb
index 3dd1b89b2f..4e4fa37509 100644
--- a/test/test_prime.rb
+++ b/test/test_prime.rb
@@ -169,6 +169,6 @@ class TestPrime < Test::Unit::TestCase
end
end
- refute_includes Prime.each(7*37).to_a, 7*37, "[ruby-dev:39465]"
+ assert_not_include Prime.each(7*37).to_a, 7*37, "[ruby-dev:39465]"
end
end