diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-05 13:16:32 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-05 13:16:32 +0000 |
commit | 6d77e28763ed17f75edf3b4072701b4dbd7644bb (patch) | |
tree | e56f68d61222a1cf4bfc6a63aa640c6546a41b91 /test/psych/test_array.rb | |
parent | 4389ba641f89fe9d4e5c575442968d385c4183e8 (diff) | |
download | ruby-6d77e28763ed17f75edf3b4072701b4dbd7644bb.tar.gz |
Import psych-3.0.0.beta1 from ruby/psych.
* Removed deprecated code.
* Removed code related syck gem.
* Fixed typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych/test_array.rb')
-rw-r--r-- | test/psych/test_array.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_array.rb b/test/psych/test_array.rb index f1e71fb16c..6306a049fc 100644 --- a/test/psych/test_array.rb +++ b/test/psych/test_array.rb @@ -16,7 +16,7 @@ module Psych end def test_another_subclass_with_attributes - y = Y.new.tap {|y| y.val = 1} + y = Y.new.tap {|o| o.val = 1} y << "foo" << "bar" y = Psych.load Psych.dump y @@ -36,7 +36,7 @@ module Psych end def test_subclass_with_attributes - y = Psych.load Psych.dump Y.new.tap {|y| y.val = 1} + y = Psych.load Psych.dump Y.new.tap {|o| o.val = 1} assert_equal Y, y.class assert_equal 1, y.val end |