summaryrefslogtreecommitdiff
path: root/test/yaml
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-16 14:41:49 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-16 14:41:49 +0000
commitdd03a2ff20bf146885066435e0cfafd3fe70d757 (patch)
tree90f3dfde32a99780d9ca47444f958196245bb9d0 /test/yaml
parent0dea051ea19b57d12f8d9642079695aea4753081 (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.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/yaml/test_yaml.rb b/test/yaml/test_yaml.rb
index 16d903b..2000f99 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 = ".."..."..."