Skip to content

Commit 526c6f2

Browse files
committed
confusables: Add failing test
This test fails due to the code currently not removing characters with the Default_Ignorable_Code_Point property.
1 parent 1955790 commit 526c6f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ fn test_confusable_detection() {
6666
assert_eq!(&skeleton("").collect::<String>(), "");
6767
assert_eq!(&skeleton("s").collect::<String>(), "s");
6868
assert_eq!(&skeleton("sss").collect::<String>(), "sss");
69+
assert_eq!(&skeleton("s؜s؜s").collect::<String>(), "sss");
6970
assert_eq!(&skeleton("ﶛ").collect::<String>(), "نمى");
7071
assert_eq!(&skeleton("ﶛﶛ").collect::<String>(), "نمىنمى");
7172
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy