summaryrefslogtreecommitdiff
path: root/sample
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
commit8815306dc5aadd777c887bbd8de7057598ad709c (patch)
tree6e53ceddeb22d49fd0acd8122287c53cd90a1465 /sample
parent38db4d23c5dcd469e489f159fa03f9077d4e2a41 (diff)
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
-rw-r--r--sample/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb
index 9cf62b8eb0..b16d7779c1 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"