summaryrefslogtreecommitdiff
path: root/test/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/misc.c')
-rw-r--r--test/misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/misc.c b/test/misc.c
index 56d81d5..8655233 100644
--- a/test/misc.c
+++ b/test/misc.c
@@ -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;
}