aboutsummaryrefslogtreecommitdiffstats
path: root/test/net
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-21 16:34:34 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-21 16:34:34 +0000
commitfa6bcdd36b492cb0b1e22b0308738cc1e27e28b7 (patch)
tree19729cc952233ee303f2c54a9c07001bf820d524 /test/net
parentc98d3b58263c46eec0b9f5951b337086335e2536 (diff)
downloadruby-fa6bcdd36b492cb0b1e22b0308738cc1e27e28b7.tar.gz
fic expected error message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_https.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index 86d661e47b..5a17cc8186 100644
--- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb
@@ -212,11 +212,11 @@ class TestNetHTTPS < Test::Unit::TestCase
http.verify_callback = Proc.new do |preverify_ok, store_ctx|
true
end
- @log_tester = lambda {|log| assert_match(/SSLv3 read client hello/, log[0] ) }
+ @log_tester = lambda {|log| assert_not_equal([], log) }
ex = assert_raise(OpenSSL::SSL::SSLError){
http.request_get("/") {|res| }
}
- assert_match(/no protocols available/, ex.message)
+ assert_match(/\ASSL_connect returned=1 errno=0 /, ex.message)
end
end if defined?(OpenSSL::SSL)