ruby-changes:48202
From: naruse <ko1@a...>
Date: Sun, 22 Oct 2017 01:45:01 +0900 (JST)
Subject: [ruby-changes:48202] naruse:r60316 (trunk): ignore server side error
naruse 2017-10-22 01:44:56 +0900 (Sun, 22 Oct 2017) New Revision: 60316 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=60316 Log: ignore server side error Modified files: trunk/test/net/http/test_https.rb Index: test/net/http/test_https.rb =================================================================== --- test/net/http/test_https.rb (revision 60315) +++ test/net/http/test_https.rb (revision 60316) @@ -212,7 +212,7 @@ class TestNetHTTPS < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/net/http/test_https.rb#L212 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| } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/