summaryrefslogtreecommitdiff
path: root/test/psych/test_hash.rb
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-16 06:39:13 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-16 06:39:13 +0000
commitfe0414b5473b5332706126d2a017a9bf235c8146 (patch)
treef4b06b834757fb6879b6a69c1bb19cd949fe7e93 /test/psych/test_hash.rb
parenta5c577757ece55432acbed341d299ac8849d633f (diff)
* ext/psych/lib/psych/visitors/yaml_tree.rb: only dump hash
subclasses. Thanks Joe Eli McIlvain <joe.eli.mac@gmail.com> * test/psych/test_hash.rb: test for change git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/psych/test_hash.rb')
-rw-r--r--test/psych/test_hash.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/psych/test_hash.rb b/test/psych/test_hash.rb
index 066df6612e..e658984f48 100644
--- a/test/psych/test_hash.rb
+++ b/test/psych/test_hash.rb
@@ -38,12 +38,6 @@ module Psych
assert_cycle t1
end
- def test_hash_with_ivars
- @hash.instance_variable_set :@foo, 'bar'
- dup = Psych.load Psych.dump @hash
- assert_equal 'bar', dup.instance_variable_get(:@foo)
- end
-
def test_hash_subclass_with_ivars
x = X.new
x[:a] = 'b'