diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-08-08 11:06:03 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-08-08 02:09:27 +0000 |
| commit | 68ebd56a76423c14883f8986fd6e64cf6da314d5 (patch) | |
| tree | 5f71a0a32399152784c27c5cc6cc0743006495da /test | |
| parent | c3becc3ba6c584fbeabd5182e304e61529235fe6 (diff) | |
[ruby/uri] Use URI::RFC2396_PARSER explicitly in URI
https://github.com/ruby/uri/commit/898b889811
Diffstat (limited to 'test')
| -rw-r--r-- | test/uri/test_parser.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/uri/test_parser.rb b/test/uri/test_parser.rb index 9105d47f7b..f455a5cc9b 100644 --- a/test/uri/test_parser.rb +++ b/test/uri/test_parser.rb @@ -69,8 +69,8 @@ class URI::TestParser < Test::Unit::TestCase end end - def test_unescape - p1 = URI::Parser.new + def test_rfc2822_unescape + p1 = URI::RFC2396_Parser.new assert_equal("\xe3\x83\x90", p1.unescape("\xe3\x83\x90")) assert_equal("\xe3\x83\x90", p1.unescape('%e3%83%90')) assert_equal("\u3042", p1.unescape('%e3%81%82'.force_encoding(Encoding::US_ASCII))) |
