]> granicus.if.org Git - json-c/commitdiff
tests: Fix test_double_serializer without thread-local storage.
authorBjörn Esser <besser82@fedoraproject.org>
Mon, 18 May 2020 09:38:36 +0000 (11:38 +0200)
committerBjörn Esser <besser82@fedoraproject.org>
Mon, 18 May 2020 10:27:00 +0000 (12:27 +0200)
tests/test_double_serializer.c

index 71ec8ec8dfed6131fb3ed73ffbf80f35108b8acb..8b2487a3d6e5b2a3898f5e9ce550d2f5269dd3b7 100644 (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)