summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sample/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb
index 9cf62b8eb02..b16d7779c19 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"