diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-07 13:26:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-07 13:26:12 +0000 |
commit | 08e74bfa2c61c1c7c1dbfe7b7a0b90ed19da723b (patch) | |
tree | 9089dbc343b0f3748214048d51d4db6640919e8d /test/drb/test_drb.rb | |
parent | fb979b4532b1327044f49ed46cbb9b425757df68 (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.rb | 6 |
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 |