mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
66ba4e362d
commit
25d3fc8823
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class TestNetHTTPS < Test::Unit::TestCase
|
||||||
store_ctx.current_cert.to_der == config('ssl_certificate').to_der
|
store_ctx.current_cert.to_der == config('ssl_certificate').to_der
|
||||||
end
|
end
|
||||||
data = config('ssl_private_key').to_der
|
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)
|
assert_equal(data, res.body)
|
||||||
}
|
}
|
||||||
rescue SystemCallError
|
rescue SystemCallError
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue