diff options
| author | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-08 07:21:03 +0000 |
|---|---|---|
| committer | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-08 07:21:03 +0000 |
| commit | 6a4e78911f80a1cace59d6ad9bc9504ec0350a59 (patch) | |
| tree | 43a80be428ed620fb7976af4f199af5c57f50c6d | |
| parent | 018f5509fad087f324fa777de1b7ed8fba6ccf07 (diff) | |
| download | ruby-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
| -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 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 # |
