1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/net/http/test_https.rb: update test for r35494

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ayumin 2012-04-30 03:51:03 +00:00
parent 0456c36d03
commit 3893159530

View file

@ -103,7 +103,7 @@ class TestNetHTTPS < Test::Unit::TestCase
ex = assert_raise(OpenSSL::SSL::SSLError){
http.request_get("/") {|res| }
}
assert_match(/hostname does not match/, ex.message)
assert_match(/hostname \"127.0.0.1\" does not match/, ex.message)
end
def test_timeout_during_SSL_handshake