diff options
author | Steven G. Johnson <stevenj@mit.edu> | 2019-03-30 16:31:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-30 16:31:02 -0400 |
commit | abf81603ba137a98c84e7dd1d871c951659a4ea9 (patch) | |
tree | 27319d7c22fd9bcbbc30f9ff30e24306ee8e924f /test/misc.c | |
parent | fd4d8a3454c7c2feffa1cb10a4c518ebb338e48c (diff) | |
download | libutf8proc-abf81603ba137a98c84e7dd1d871c951659a4ea9.tar.gz libutf8proc-abf81603ba137a98c84e7dd1d871c951659a4ea9.tar.bz2 |
add utf8proc_unicode_version (#151)
Diffstat (limited to 'test/misc.c')
-rw-r--r-- | test/misc.c | 4 |
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; } |