summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-02 15:37:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-02 15:37:07 +0000
commit50c355b12eac3ffa982fc60e96a8a272b6b4dff9 (patch)
tree6e53ceddeb22d49fd0acd8122287c53cd90a1465
parent8cf3c0f9f46a76e2900599d5a171f959b2411581 (diff)
downloadruby-50c355b12eac3ffa982fc60e96a8a272b6b4dff9.tar.gz
ruby-50c355b12eac3ffa982fc60e96a8a272b6b4dff9.tar.xz
ruby-50c355b12eac3ffa982fc60e96a8a272b6b4dff9.zip
ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--sample/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb
index 9cf62b8eb..b16d7779c 100644
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -1280,7 +1280,7 @@ $y = Marshal.dump($x)
test_ok($x == Marshal.load($y))
StrClone=String.clone;
-test_ok(Marshal.load(Marshal.dump(StrClone.new("abc"))).type == StrClone)
+test_ok(Marshal.load(Marshal.dump(StrClone.new("abc"))).class == StrClone)
test_check "pack"