summaryrefslogtreecommitdiffstats
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
commit6a4e78911f80a1cace59d6ad9bc9504ec0350a59 (patch)
tree43a80be428ed620fb7976af4f199af5c57f50c6d /test/yaml
parent018f5509fad087f324fa777de1b7ed8fba6ccf07 (diff)
downloadruby-6a4e78911f80a1cace59d6ad9bc9504ec0350a59.tar.gz
ruby-6a4e78911f80a1cace59d6ad9bc9504ec0350a59.tar.xz
ruby-6a4e78911f80a1cace59d6ad9bc9504ec0350a59.zip
* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
added tests. git-svn-id: http://svn.ruby-lang.org/repos/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 3597772c5..16d903b07 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
#