summaryrefslogtreecommitdiff
path: root/test/test_string_extension.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_string_extension.rb')
-rw-r--r--test/test_string_extension.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_string_extension.rb b/test/test_string_extension.rb
index fb4b9ff..1460e93 100644
--- a/test/test_string_extension.rb
+++ b/test/test_string_extension.rb
@@ -38,7 +38,7 @@ class TestStringExtension < Minitest::Test
unless Gem::Version.new(YAML::VERSION) < Gem::Version.new("2.0.2")
highline_string = HighLine::String.new("Yaml didn't messed with HighLine::String")
yaml_highline_string = highline_string.to_yaml
- yaml_loaded_string = YAML.safe_load(yaml_highline_string)
+ yaml_loaded_string = YAML.safe_load(yaml_highline_string, [HighLine::String])
assert_equal "Yaml didn't messed with HighLine::String", yaml_loaded_string
assert_equal highline_string, yaml_loaded_string