fix NULL args in grapheme_break_stateful
This commit is contained in:
@@ -118,6 +118,9 @@ int main(int argc, char **argv)
|
||||
checkline("/ 1f926 1f3fc 200d 2642 fe0f /", true); /* facepalm + pale skin + zwj + male sign + FE0F */
|
||||
checkline("/ 1f468 1f3fb 200d 1f91d 200d 1f468 1f3fd /", true); /* man face + pale skin + zwj + hand holding + zwj + man face + dark skin */
|
||||
|
||||
check(utf8proc_grapheme_break(0x03b1, 0x03b2), "failed 03b1 / 03b2 test");
|
||||
check(!utf8proc_grapheme_break(0x03b1, 0x0302), "failed 03b1 0302 test");
|
||||
|
||||
printf("Passed regression tests!\n");
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user