From ebb7ed18646a10a0a735179f3008ec845cb5509f Mon Sep 17 00:00:00 2001 From: akira Date: Sun, 8 Feb 2004 07:21:03 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ test/yaml/test_yaml.rb | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4b8a44575d..c64c9d2026 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Feb 8 16:18:27 2004 akira yamada + + * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle): + added tests. + Sun Feb 8 15:51:57 2004 akira yamada * test/ruby/test_file.rb (TestFile::test_fnmatch): added tests for 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 #