summaryrefslogtreecommitdiff
path: root/test/net/http/test_https.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/net/http/test_https.rb')
-rw-r--r--test/net/http/test_https.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index 89845c5..bff2b4a 100644
--- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb
@@ -117,7 +117,10 @@ class TestNetHTTPS < Test::Unit::TestCase
end
}
assert_match(/certificate verify failed/, ex.message)
- @log_pattern = /ERROR OpenSSL::SSL::SSLError:/
+ @log_tester = lambda {|log|
+ assert_equal(1, log.length)
+ assert_match(/ERROR OpenSSL::SSL::SSLError:/, log[0])
+ }
end
def test_identity_verify_failure