ruby-changes:34989
From: naruse <ko1@a...>
Date: Wed, 6 Aug 2014 04:08:33 +0900 (JST)
Subject: [ruby-changes:34989] naruse:r47071 (trunk): suppress warnings
naruse 2014-08-06 04:08:26 +0900 (Wed, 06 Aug 2014) New Revision: 47071 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47071 Log: suppress warnings Modified files: trunk/test/net/http/test_https.rb Index: test/net/http/test_https.rb =================================================================== --- test/net/http/test_https.rb (revision 47070) +++ test/net/http/test_https.rb (revision 47071) @@ -51,7 +51,7 @@ class TestNetHTTPS < Test::Unit::TestCas https://github.com/ruby/ruby/blob/trunk/test/net/http/test_https.rb#L51 store_ctx.current_cert.to_der == config('ssl_certificate').to_der end data = config('ssl_private_key').to_der - http.request_post("/", data) {|res| + http.request_post("/", data, {'content-type' => 'application/x-www-form-urlencoded'}) {|res| assert_equal(data, res.body) } rescue SystemCallError -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/