summaryrefslogtreecommitdiff
path: root/test/yaml
diff options
context:
space:
mode:
authorakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-08 07:21:03 +0000
committerakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-08 07:21:03 +0000
commitebb7ed18646a10a0a735179f3008ec845cb5509f (patch)
tree43a80be428ed620fb7976af4f199af5c57f50c6d /test/yaml
parent4ca30a130d7baef02d0c91a1846beab68e954bae (diff)
* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
added tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/yaml')
-rw-r--r--test/yaml/test_yaml.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/yaml/test_yaml.rb b/test/yaml/test_yaml.rb
index 3597772c59..16d903b076 100644
--- a/test/yaml/test_yaml.rb
+++ b/test/yaml/test_yaml.rb
@@ -1210,6 +1210,12 @@ EOY
#
t = "0".."1"
assert_equal( t, YAML.load( YAML.dump( t ) ) )
+ t = ".."..."..."
+ assert_equal( t, YAML.load( YAML.dump( t ) ) )
+ t = ".rb"..".pl"
+ assert_equal( t, YAML.load( YAML.dump( t ) ) )
+ t = ".rb"...".pl"
+ assert_equal( t, YAML.load( YAML.dump( t ) ) )
end
#