summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-29 04:49:00 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-29 04:49:00 +0000
commit6b73bb455ecc89dc6134f5234a3a3a3822b5c3e6 (patch)
tree26b5babac2d3813ba950176cc8607f3061ee00ae /test/net
parent1238d358f14e88fb81907ff39c28befa71219a9b (diff)
merge revision(s) 53299: [Backport #11870]
* compile.c, cont.c, doc, man: fix common misspelling. [ruby-core:72466] [Bug #11870] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_http.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index d8983e91cd..f1d3ede53e 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -151,12 +151,12 @@ class TestNetHTTP < Test::Unit::TestCase
def test_proxy_port
clean_http_proxy_env do
- http = Net::HTTP.new 'exmaple', nil, 'proxy.example'
+ http = Net::HTTP.new 'example', nil, 'proxy.example'
assert_equal 'proxy.example', http.proxy_address
assert_equal 80, http.proxy_port
- http = Net::HTTP.new 'exmaple', nil, 'proxy.example', 8000
+ http = Net::HTTP.new 'example', nil, 'proxy.example', 8000
assert_equal 8000, http.proxy_port
- http = Net::HTTP.new 'exmaple', nil
+ http = Net::HTTP.new 'example', nil
assert_equal nil, http.proxy_port
end
end