From e54c30c05eb16897bc1d44b3bec06083ef1ae779 Mon Sep 17 00:00:00 2001 From: nahi Date: Thu, 9 Sep 2010 08:17:51 +0000 Subject: * test/net/http/test_https.rb (test_identity_verify_failure): follows the SSL hostname check error message of openssl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/net/http/test_https.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index adb50c58fb..f66f99ed41 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -92,6 +92,6 @@ class TestNetHTTPS < Test::Unit::TestCase ex = assert_raise(OpenSSL::SSL::SSLError){ http.request_get("/") {|res| } } - assert_match(/hostname was not match/, ex.message) + assert_match(/hostname does not match/, ex.message) end end if defined?(OpenSSL) -- cgit v1.2.3