summaryrefslogtreecommitdiff
path: root/test/syck/test_string.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/syck/test_string.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/syck/test_string.rb')
-rw-r--r--test/syck/test_string.rb2
1 files changed, 1 insertions, 1 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