diff options
Diffstat (limited to 'test/psych/test_hash.rb')
-rw-r--r-- | test/psych/test_hash.rb | 6 |
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' |