diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 16:44:56 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-21 16:44:56 +0000 |
commit | d02211c9da608742b09aec768db79442007eabc0 (patch) | |
tree | f9d852939f4ff384f3e71887fe63daeb38211cc6 /test/net/http/test_https.rb | |
parent | b39132e993f7744553943453d912d1efd8ce4ffa (diff) | |
download | ruby-d02211c9da608742b09aec768db79442007eabc0.tar.gz |
ignore server side error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/http/test_https.rb')
-rw-r--r-- | test/net/http/test_https.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index 5a17cc8186..5aaea40139 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -212,7 +212,7 @@ class TestNetHTTPS < Test::Unit::TestCase http.verify_callback = Proc.new do |preverify_ok, store_ctx| true end - @log_tester = lambda {|log| assert_not_equal([], log) } + @log_tester = lambda {|_| } ex = assert_raise(OpenSSL::SSL::SSLError){ http.request_get("/") {|res| } } |