summaryrefslogtreecommitdiff
path: root/test/psych/test_yaml_special_cases.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/test_yaml_special_cases.rb')
-rw-r--r--test/psych/test_yaml_special_cases.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_yaml_special_cases.rb b/test/psych/test_yaml_special_cases.rb
index eccbac4c7f..205457bcae 100644
--- a/test/psych/test_yaml_special_cases.rb
+++ b/test/psych/test_yaml_special_cases.rb
@@ -13,7 +13,7 @@ module Psych
def test_empty_string
s = ""
- assert_equal false, Psych.load(s)
+ assert_equal false, Psych.unsafe_load(s)
assert_equal [], Psych.load_stream(s)
assert_equal false, Psych.parse(s)
assert_equal [], Psych.parse_stream(s).transform