aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cipher.rb
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-09-23 09:26:00 -0400
committerZachary Scott <e@zzak.io>2015-09-23 09:26:00 -0400
commit03c088b936c1bea55687c6345799b28b98c24ee9 (patch)
tree8b2e7b7ecc54576ecf321717240429c5f168fb40 /test/test_cipher.rb
parent4df76773f42ddedf8e0907615a43b144f63f3a83 (diff)
downloadruby-openssl-03c088b936c1bea55687c6345799b28b98c24ee9.tar.gz
Sync with ruby trunk
Diffstat (limited to 'test/test_cipher.rb')
-rw-r--r--test/test_cipher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_cipher.rb b/test/test_cipher.rb
index 81ded0ae..6f92c381 100644
--- a/test/test_cipher.rb
+++ b/test/test_cipher.rb
@@ -107,7 +107,7 @@ class OpenSSL::TestCipher < Test::Unit::TestCase
begin
assert_kind_of(OpenSSL::Cipher::Cipher, OpenSSL::Cipher::Cipher.new(name))
rescue OpenSSL::Cipher::CipherError => e
- next if /wrap\z/ =~ name and e.message == 'wrap mode not allowed'
+ next if /wrap/ =~ name and e.message == 'wrap mode not allowed'
raise
end
}