diff options
author | nobu <nobu@ruby-lang.org> | 2016-02-19 07:45:58 +0000 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-05-31 11:31:27 +0900 |
commit | b9030f08f9d7eb081cf28a58e252ae61cf3590e4 (patch) | |
tree | 47f617504670b3a2a7f7074dc3a32d66d51f61a8 /test/test_cipher.rb | |
parent | f51e2f6539558c735493491e14bba670afd7517f (diff) | |
download | ruby-openssl-b9030f08f9d7eb081cf28a58e252ae61cf3590e4.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/test_cipher.rb')
-rw-r--r-- | test/test_cipher.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_cipher.rb b/test/test_cipher.rb index 89c176f4..dae069e4 100644 --- a/test/test_cipher.rb +++ b/test/test_cipher.rb @@ -143,9 +143,9 @@ class OpenSSL::TestCipher < Test::Unit::TestCase def test_authenticated cipher = OpenSSL::Cipher.new('aes-128-gcm') - assert(cipher.authenticated?) + assert_predicate(cipher, :authenticated?) cipher = OpenSSL::Cipher.new('aes-128-cbc') - refute(cipher.authenticated?) + assert_not_predicate(cipher, :authenticated?) end def test_aes_gcm |