aboutsummaryrefslogtreecommitdiffstats
path: root/test/psych/test_string.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/test_string.rb')
-rw-r--r--test/psych/test_string.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/psych/test_string.rb b/test/psych/test_string.rb
index 0bdba184f3..2512bb6802 100644
--- a/test/psych/test_string.rb
+++ b/test/psych/test_string.rb
@@ -15,6 +15,11 @@ module Psych
end
end
+ def test_dash_dot
+ assert_cycle '-.'
+ assert_cycle '+.'
+ end
+
def test_string_subclass_with_anchor
y = Psych.load <<-eoyml
---