add utf8proc_unicode_version (#151)

This commit is contained in:
Steven G. Johnson
2019-03-30 16:31:02 -04:00
committed by GitHub
parent fd4d8a3454
commit abf81603ba
5 changed files with 16 additions and 2 deletions

View File

@@ -41,6 +41,10 @@ int main(void)
{
issue128();
issue102();
#ifdef UNICODE_VERSION
printf("Unicode version: Makefile has %s, has API %s\n", UNICODE_VERSION, utf8proc_unicode_version());
check(!strcmp(UNICODE_VERSION, utf8proc_unicode_version()), "utf8proc_unicode_version mismatch");
#endif
printf("Misc tests SUCCEEDED.\n");
return 0;
}