summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@mit.edu>2019-03-30 16:31:02 -0400
committerGitHub <noreply@github.com>2019-03-30 16:31:02 -0400
commitabf81603ba137a98c84e7dd1d871c951659a4ea9 (patch)
tree27319d7c22fd9bcbbc30f9ff30e24306ee8e924f /test
parentfd4d8a3454c7c2feffa1cb10a4c518ebb338e48c (diff)
downloadlibutf8proc-abf81603ba137a98c84e7dd1d871c951659a4ea9.tar.gz
libutf8proc-abf81603ba137a98c84e7dd1d871c951659a4ea9.tar.bz2
add utf8proc_unicode_version (#151)
Diffstat (limited to 'test')
-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;
}