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 | dd03a2ff20bf146885066435e0cfafd3fe70d757 (patch) | |
tree | 90f3dfde32a99780d9ca47444f958196245bb9d0 /test/yaml | |
parent | 0dea051ea19b57d12f8d9642079695aea4753081 (diff) |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@5731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/yaml')
-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 16d903b076..2000f99b60 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 = ".."..."..." |