summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2020-05-18 11:38:36 +0200
committerBjörn Esser <besser82@fedoraproject.org>2020-05-18 12:27:00 +0200
commitdd040ba44605da3d186e76add85926423b588a75 (patch)
treeaa0c15dee06bf68a8717ccfb4265db0abdf48462
parent5b15c7567d05a6ad834c96461766340c187dfcc9 (diff)
downloadjson-c-dd040ba44605da3d186e76add85926423b588a75.tar.gz
tests: Fix test_double_serializer without thread-local storage.
-rw-r--r--tests/test_double_serializer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_double_serializer.c b/tests/test_double_serializer.c
index 71ec8ec..8b2487a 100644
--- a/tests/test_double_serializer.c
+++ b/tests/test_double_serializer.c
@@ -59,6 +59,7 @@ int main()
#else
// Just fake it up, so the output matches.
printf("obj.to_string(with thread format)=%s\n", "T0.52X");
+ printf("obj.to_string(long thread format)=%s\n", "Ttttttttttttt0.52xxxxxxxxxxxxxxxxxxX");
printf("obj.to_string(back to global format)=%s\n", "x0.524y");
#endif
if (json_c_set_serialization_double_format(NULL, JSON_C_OPTION_GLOBAL) < 0)