diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2009-11-17 21:16:03 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2009-11-17 21:16:03 -0800 |
commit | 44bfff0204555e6a9d8bd764d9ee68bb47e0bffd (patch) | |
tree | 725e07c29ec37e79eab643f3d9df254cb1bab9c3 /test/visitors/test_to_ruby.rb | |
parent | 83ff66422fd23f883a90a65b25644267a27e25bf (diff) | |
download | psych-44bfff0204555e6a9d8bd764d9ee68bb47e0bffd.zip |
making more tests pass!
Diffstat (limited to 'test/visitors/test_to_ruby.rb')
-rw-r--r-- | test/visitors/test_to_ruby.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/visitors/test_to_ruby.rb b/test/visitors/test_to_ruby.rb index dcd4738..e5d6c9d 100644 --- a/test/visitors/test_to_ruby.rb +++ b/test/visitors/test_to_ruby.rb @@ -224,7 +224,7 @@ description: # http://yaml.org/type/bool.html def test_boolean_true - %w{ y Y yes Yes YES true True TRUE on On ON }.each do |t| + %w{ yes Yes YES true True TRUE on On ON }.each do |t| i = Nodes::Scalar.new(t, nil, 'tag:yaml.org,2002:bool') assert_equal true, i.to_ruby assert_equal true, Nodes::Scalar.new(t).to_ruby @@ -233,7 +233,7 @@ description: # http://yaml.org/type/bool.html def test_boolean_false - %w{ n N no No NO false False FALSE off Off OFF }.each do |t| + %w{ no No NO false False FALSE off Off OFF }.each do |t| i = Nodes::Scalar.new(t, nil, 'tag:yaml.org,2002:bool') assert_equal false, i.to_ruby assert_equal false, Nodes::Scalar.new(t).to_ruby |