diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-07 05:11:10 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-07 05:11:10 +0000 |
| commit | 4fdece3c4ef432a30feb1dfd7a42fe49eeedd6a7 (patch) | |
| tree | 248f0b7c17d48a551f7a69399f241bfca923362f /test/ruby | |
| parent | e77bc74ca773d4144e6328844054a029572953e8 (diff) | |
| download | ruby-4fdece3c4ef432a30feb1dfd7a42fe49eeedd6a7.tar.gz ruby-4fdece3c4ef432a30feb1dfd7a42fe49eeedd6a7.tar.xz ruby-4fdece3c4ef432a30feb1dfd7a42fe49eeedd6a7.zip | |
* marshal.c (w_object): reverted r26007. [ruby-dev:39845]
* test/test_delegate.rb (test_marshal): moved from test_marshal.rb.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_marshal.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb index 71936ec14..69c11d668 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 |
