We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7ccfd commit d47dae2Copy full SHA for d47dae2
test/uri/test_parser.rb
@@ -7,6 +7,11 @@ def uri_to_ary(uri)
7
uri.class.component.collect {|c| uri.send(c)}
8
end
9
10
+ def test_inspect
11
+ assert_match(/URI::RFC2396_Parser/, URI::Parser.new.inspect)
12
+ assert_match(/URI::RFC3986_Parser/, URI::RFC3986_Parser.new.inspect)
13
+ end
14
+
15
def test_compare
16
url = 'http://a/b/c/d;p?q'
17
u0 = URI.parse(url)
0 commit comments