minor changes

This commit is contained in:
Chu'vok
2024-09-17 10:35:24 +02:00
parent 313dc26fcc
commit 8674ca2790
2 changed files with 7 additions and 16 deletions

View File

@@ -38,6 +38,7 @@ int main(void) {
TEST(utflen("$€𐍈") == 3);
TEST(utfpos(NULL, 0) == 0);
TEST(utfpos("ab", -1) == 0);
TEST(utfpos("äbc", 0) == 0);
TEST(utfpos("äbc", 1) == 2);
TEST(utfpos("äbc", 2) == 3);