summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-12-13 11:46:04 +0100
committerRemi Collet <fedora@famillecollet.com>2012-12-13 11:46:04 +0100
commit32d149c8f60a5bdad4f678013a83d052ffd8ad43 (patch)
tree33bdc57adf2fd21a75aab5f3f86261899d35b4c2 /tests
parent8c847968c7de17be6cf3878a4e6adca8ab8d8f14 (diff)
probably worth an option for this
Diffstat (limited to 'tests')
-rw-r--r--tests/test_locale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_locale.c b/tests/test_locale.c
index 6926a5d..da070cf 100644
--- a/tests/test_locale.c
+++ b/tests/test_locale.c
@@ -23,8 +23,9 @@ int main(int argc, char **argv)
MC_SET_DEBUG(1);
- new_obj = json_tokener_parse("[1.2,3.4,123456.78,5.0]");
+ new_obj = json_tokener_parse("[1.2,3.4,123456.78,5.0,2.3e10]");
printf("new_obj.to_string()=%s\n", json_object_to_json_string(new_obj));
+ printf("new_obj.to_string()=%s\n", json_object_to_json_string_ext(new_obj,JSON_C_TO_STRING_NOZERO));
json_object_put(new_obj);
}