Add more tests for small strings.
This commit is contained in:
parent
a269c141c8
commit
d02dc51456
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ fn testAnyascii(expectedAscii: []const u8, utf8str: []const u8) !void {
|
|||
test utf8ToAscii {
|
||||
// These examples are taken from anyascii examples, see https://github.com/anyascii/anyascii/tree/master#examples
|
||||
|
||||
try testUtf8ToAscii("a ", "à ");
|
||||
try testUtf8ToAscii("a", "à");
|
||||
try testUtf8ToAscii("Rene Francois Lacote", "René François Lacôte");
|
||||
try testUtf8ToAscii("Blosse", "Blöße");
|
||||
try testUtf8ToAscii("Tran Hung Dao", "Trần Hưng Đạo");
|
||||
|
|
Loading…
Reference in a new issue