diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/syck/test_string.rb | 2 | ||||
-rw-r--r-- | test/test_prime.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/syck/test_string.rb b/test/syck/test_string.rb index 3bac75964f..adea4c51ce 100644 --- a/test/syck/test_string.rb +++ b/test/syck/test_string.rb @@ -20,7 +20,7 @@ module Syck def test_non_binary_string string = binary_string(0.29) yml = YAML.dump string - refute_match(/binary/, yml) + assert_not_match(/binary/, yml) assert_equal string, YAML.load(yml) end 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 |