summaryrefslogtreecommitdiff
path: root/test/ruby/test_marshal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_marshal.rb')
-rw-r--r--test/ruby/test_marshal.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb
index 7bd259329d..126efc8ae6 100644
--- a/test/ruby/test_marshal.rb
+++ b/test/ruby/test_marshal.rb
@@ -484,10 +484,10 @@ class TestMarshal < Test::Unit::TestCase
def test_marshal_load_should_not_taint_classes
bug7325 = '[ruby-core:49198]'
for c in [TestClass, TestModule]
- assert(!c.tainted?)
+ assert_not_predicate(c, :tainted?)
c2 = Marshal.load(Marshal.dump(c).taint)
assert_same(c, c2)
- assert(!c.tainted?, bug7325)
+ assert_not_predicate(c, :tainted?, bug7325)
end
end