summaryrefslogtreecommitdiff
path: root/test/syck
diff options
context:
space:
mode:
Diffstat (limited to 'test/syck')
-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