summaryrefslogtreecommitdiff
path: root/test/yaml/test_yaml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/yaml/test_yaml.rb')
-rw-r--r--test/yaml/test_yaml.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/yaml/test_yaml.rb b/test/yaml/test_yaml.rb
index 16d903b076..2000f99b60 100644
--- a/test/yaml/test_yaml.rb
+++ b/test/yaml/test_yaml.rb
@@ -1208,6 +1208,8 @@ EOY
#
# From Nobu Nakada [ruby-core:02311]
#
+ t = 0..1
+ assert_equal( t, YAML.load( YAML.dump( t ) ) )
t = "0".."1"
assert_equal( t, YAML.load( YAML.dump( t ) ) )
t = ".."..."..."