From 55058dd793556bc2bbf760595a85780df8a8c7cc Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Mon, 25 Nov 2024 16:26:48 +0900 Subject: [PATCH] Prevent a warning: URI::REGEXP is obsolete --- test/uri/test_common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/uri/test_common.rb b/test/uri/test_common.rb index e96f819..774eb91 100644 --- a/test/uri/test_common.rb +++ b/test/uri/test_common.rb @@ -11,7 +11,7 @@ def teardown end class Foo - include URI::REGEXP::PATTERN + include URI::RFC2396_REGEXP::PATTERN end def test_fallback_constants