Skip to content

Commit 49d929e

Browse files
KSXGitHubanonrig
authored andcommitted
test: add a case
1 parent 0185a8b commit 49d929e

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
@@ -583,6 +583,10 @@ mod test {
583583
"http://example.com/🦀/❤️/",
584584
"http://example.com/%F0%9F%A6%80/%E2%9D%A4%EF%B8%8F/",
585585
),
586+
(
587+
"https://三十六計.org/走為上策/",
588+
"https://xn--ehq95fdxbx86i.org/%E8%B5%B0%E7%82%BA%E4%B8%8A%E7%AD%96/", // weird, but this PR cannot change the implementation
589+
),
586590
];
587591
for (value, expected) in tests {
588592
eprintln!("{value} -> {expected}");

0 commit comments

Comments
 (0)