summaryrefslogtreecommitdiff
path: root/test/uri/test_generic.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/uri/test_generic.rb')
-rw-r--r--test/uri/test_generic.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/uri/test_generic.rb b/test/uri/test_generic.rb
index aefd5f63c7..398c4cc830 100644
--- a/test/uri/test_generic.rb
+++ b/test/uri/test_generic.rb
@@ -121,8 +121,8 @@ class URI::TestGeneric < Test::Unit::TestCase
# 7
# reported by Mr. Kubota <em6t-kbt@asahi-net.or.jp>
- assert_raise(URI::InvalidURIError) { URI.parse('http://a_b:80/') }
- assert_raise(URI::InvalidURIError) { URI.parse('http://a_b/') }
+ assert_nothing_raised(URI::InvalidURIError) { URI.parse('http://a_b:80/') }
+ assert_nothing_raised(URI::InvalidURIError) { URI.parse('http://a_b/') }
# 8
# reported by m_seki