summaryrefslogtreecommitdiff
path: root/api_test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-26 12:23:42 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-26 12:23:42 -0700
commitbae7b61487f58f296389d5007df7166ddcfecad8 (patch)
tree3b658b774f028c7a0b9962411a4a6a3e21850b42 /api_test
parent2f945071616d226296068e3c61b6de2e64c813cf (diff)
parent06b355f5a97bd5fb19cfad7e8065d5e8a6c37bce (diff)
Merge pull request #61 from txdv/version-functions-ffi
Changed version variables to functions.
Diffstat (limited to 'api_test')
-rw-r--r--api_test/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/api_test/main.c b/api_test/main.c
index 666af4d..104371c 100644
--- a/api_test/main.c
+++ b/api_test/main.c
@@ -55,8 +55,8 @@ test_continuation_byte(test_batch_runner *runner, const char *utf8);
static void
version(test_batch_runner *runner)
{
- INT_EQ(runner, cmark_version, CMARK_VERSION, "cmark_version");
- STR_EQ(runner, cmark_version_string, CMARK_VERSION_STRING,
+ INT_EQ(runner, cmark_version(), CMARK_VERSION, "cmark_version");
+ STR_EQ(runner, cmark_version_string(), CMARK_VERSION_STRING,
"cmark_version_string");
}