diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-16 14:41:49 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-16 14:41:49 +0000 |
commit | 9045759b3204db401d6c1c17833dfb6d751018ad (patch) | |
tree | 90f3dfde32a99780d9ca47444f958196245bb9d0 /test/yaml/test_yaml.rb | |
parent | 58c349d311cbcd02852432427245c988248c2a85 (diff) | |
download | ruby-9045759b3204db401d6c1c17833dfb6d751018ad.tar.gz ruby-9045759b3204db401d6c1c17833dfb6d751018ad.tar.xz ruby-9045759b3204db401d6c1c17833dfb6d751018ad.zip |
* lib/csv.rb: document reduction. [ruby-core:02429]
* test/yaml/test_yaml.rb: added 0..1 test with "0".."1" on display.
it should be defined that the specification about what kind of Range
is supported in ruby's custom type in YAML.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/yaml/test_yaml.rb')
-rw-r--r-- | test/yaml/test_yaml.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/yaml/test_yaml.rb b/test/yaml/test_yaml.rb index 16d903b07..2000f99b6 100644 --- a/test/yaml/test_yaml.rb +++ b/test/yaml/test_yaml.rb @@ -1208,6 +1208,8 @@ EOY # # From Nobu Nakada [ruby-core:02311] # + t = 0..1 + assert_equal( t, YAML.load( YAML.dump( t ) ) ) t = "0".."1" assert_equal( t, YAML.load( YAML.dump( t ) ) ) t = ".."..."..." |