mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[ruby/uri] Prevent a warning: URI::REGEXP is obsolete
(https://github.com/ruby/uri/pull/138)
c00726a20a
This commit is contained in:
parent
73cc312e42
commit
da8f554011
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class URI::TestCommon < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
class Foo
|
class Foo
|
||||||
include URI::REGEXP::PATTERN
|
include URI::RFC2396_REGEXP::PATTERN
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_fallback_constants
|
def test_fallback_constants
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue