summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_marshal.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb
index 71936ec147..69c11d6688 100644
--- a/test/ruby/test_marshal.rb
+++ b/test/ruby/test_marshal.rb
@@ -323,11 +323,10 @@ class TestMarshal < Test::Unit::TestCase
end
end
def test_marshal_dump
- bug1744 = '[ruby-core:24211]'
c = C5.new("bar")
s = Marshal.dump(c)
d = Marshal.load(s)
- assert_equal("foo", d.instance_variable_get(:@foo), bug1744)
- assert_equal("bar", d.instance_variable_get(:@x), bug1744)
+ assert_equal("foo", d.instance_variable_get(:@foo))
+ assert_equal(false, d.instance_variable_defined?(:@x))
end
end