summaryrefslogtreecommitdiff
path: root/test/net/http/test_http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/net/http/test_http.rb')
-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 033f369553..7d9c2b09d1 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -140,12 +140,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