diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-19 07:45:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-19 07:45:58 +0000 |
commit | 4e316341843fe57dddf267fee753ee430ff39508 (patch) | |
tree | 5a751c1b132d593c10fc74b657471364136a35f1 /test/openssl/test_buffering.rb | |
parent | c0051abc933eef3d10c553e13f4eb71f2ae8e416 (diff) | |
download | ruby-4e316341843fe57dddf267fee753ee430ff39508.tar.gz |
test: use assert_not_*
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/openssl/test_buffering.rb')
-rw-r--r-- | test/openssl/test_buffering.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/openssl/test_buffering.rb b/test/openssl/test_buffering.rb index fe07b46a5e..1f552c935b 100644 --- a/test/openssl/test_buffering.rb +++ b/test/openssl/test_buffering.rb @@ -43,19 +43,19 @@ class OpenSSL::TestBuffering < Test::Unit::TestCase def test_flush @io.write 'a' - refute @io.sync + assert_not_predicate @io, :sync assert_empty @io.string assert_equal @io, @io.flush - refute @io.sync + assert_not_predicate @io, :sync assert_equal 'a', @io.string end def test_flush_error @io.write 'a' - refute @io.sync + assert_not_predicate @io, :sync assert_empty @io.string def @io.syswrite *a @@ -66,7 +66,7 @@ class OpenSSL::TestBuffering < Test::Unit::TestCase @io.flush end - refute @io.sync, 'sync must not change' + assert_not_predicate @io, :sync, 'sync must not change' end def test_getc |