summaryrefslogtreecommitdiff
path: root/test/uri/test_http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/uri/test_http.rb')
-rw-r--r--test/uri/test_http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/uri/test_http.rb b/test/uri/test_http.rb
index a6846141df..6c8e700b77 100644
--- a/test/uri/test_http.rb
+++ b/test/uri/test_http.rb
@@ -53,7 +53,7 @@ class TestHTTP < Test::Unit::TestCase
assert_equal(['http', 'a.b.c', 80], URI.parse('http://a.b.c/').select(:scheme, :host, :port))
u = URI.parse('http://a.b.c/')
assert_equal(uri_to_ary(u), u.select(*u.component))
- assert_raises(ArgumentError) do
+ assert_raise(ArgumentError) do
u.select(:scheme, :host, :not_exist, :port)
end
end