Skip to content

Commit 118fd43

Browse files
KSXGitHubanonrig
authored andcommitted
test: add a case
1 parent 871e9af commit 118fd43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,10 @@ mod test {
575575
("http://example.com/", "http://example.com/"),
576576
("HTTP://EXAMPLE.COM", "http://example.com/"),
577577
("http://user:[email protected]", "http://user:[email protected]/"),
578+
(
579+
"HTTP://EXAMPLE.COM/FOO/BAR?K1=V1&K2=V2",
580+
"http://example.com/FOO/BAR?K1=V1&K2=V2",
581+
),
578582
];
579583
for (value, expected) in tests {
580584
eprintln!("{value} -> {expected}");

0 commit comments

Comments
 (0)