Thanks to visit codestin.com Credit goes to github.com
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 943d938 commit bdf765eCopy full SHA for bdf765e
test/uri/test_common.rb
@@ -12,10 +12,13 @@ def teardown
12
13
EnvUtil.suppress_warning do
14
class Foo
15
+ # Intentionally use `URI::REGEXP`, which is for the compatibility
16
include URI::REGEXP::PATTERN
17
end
18
+ end
19
- def test_fallback_constants
20
+ def test_fallback_constants
21
+ EnvUtil.suppress_warning do
22
assert_raise(NameError) { URI::FOO }
23
24
assert_equal URI::ABS_URI, URI::RFC2396_PARSER.regexp[:ABS_URI]
0 commit comments