Browse Source

tests: Fix test_double_serializer without thread-local storage.

tags/json-c-0.15-20200726
Björn Esser 5 years ago
parent
commit
dd040ba446
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tests/test_double_serializer.c

+ 1
- 0
tests/test_double_serializer.c View File

@@ -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)


Loading…
Cancel
Save