aboutsummaryrefslogtreecommitdiff
path: root/test/loadf_dumpf.c
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2009-07-26 21:51:45 +0300
committerPetri Lehtinen <petri@digip.org>2009-07-26 21:51:45 +0300
commitd3b3055a34cef092f440001c5c79ae67acd37934 (patch)
tree2a940bc66459fdf4bc94f0313be7ee5e7e7d1e8d /test/loadf_dumpf.c
parent20efe4aa261bb997dc5f5d64e51a5db20583f960 (diff)
downloadjansson-d3b3055a34cef092f440001c5c79ae67acd37934.zip
jansson-d3b3055a34cef092f440001c5c79ae67acd37934.tar.gz
jansson-d3b3055a34cef092f440001c5c79ae67acd37934.tar.bz2
Expand encoder test coverage
Diffstat (limited to 'test/loadf_dumpf.c')
-rw-r--r--test/loadf_dumpf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/loadf_dumpf.c b/test/loadf_dumpf.c
index 5d42156..ce9d873 100644
--- a/test/loadf_dumpf.c
+++ b/test/loadf_dumpf.c
@@ -17,7 +17,9 @@ int main(int argc, char *argv[])
return 1;
}
- json_dumpf(json, stdout, 0);
+ /* loadf_dumpf indents, others don't, so dumping with and without
+ indenting is tested */
+ json_dumpf(json, stdout, JSON_INDENT(4));
json_decref(json);
return 0;