diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/yaml/test_yaml.rb | 6 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sun Feb 8 16:18:27 2004 akira yamada <akira@ruby-lang.org> + + * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle): + added tests. + Sun Feb 8 15:51:57 2004 akira yamada <akira@ruby-lang.org> * 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 # |