summaryrefslogtreecommitdiff
path: root/test/drb/test_drb.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-07 13:26:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-07 13:26:12 +0000
commit08e74bfa2c61c1c7c1dbfe7b7a0b90ed19da723b (patch)
tree9089dbc343b0f3748214048d51d4db6640919e8d /test/drb/test_drb.rb
parentfb979b4532b1327044f49ed46cbb9b425757df68 (diff)
use dedicated assertions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb/test_drb.rb')
-rw-r--r--test/drb/test_drb.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/drb/test_drb.rb b/test/drb/test_drb.rb
index 681a26b606..f71304653f 100644
--- a/test/drb/test_drb.rb
+++ b/test/drb/test_drb.rb
@@ -121,10 +121,10 @@ class TestDRbYield < Test::Unit::TestCase
def test_06_taint
x = proc {}
- assert(! x.tainted?)
+ assert_not_predicate(x, :tainted?)
@there.echo_yield(x) {|o|
assert_equal(x, o)
- assert(! x.tainted?)
+ assert_not_predicate(x, :tainted?)
}
end
end
@@ -393,7 +393,7 @@ class TestBug4409 < Test::Unit::TestCase
def test_bug4409
foo = @there.foo
- assert(@there.foo?(foo))
+ assert_operator(@there, :foo?, foo)
end
end