Expand encoder test coverage
This commit is contained in:
parent
20efe4aa26
commit
d3b3055a34
@ -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;
|
||||
|
2
test/testdata/valid
vendored
2
test/testdata/valid
vendored
@ -16,6 +16,8 @@
|
||||
========
|
||||
["\uD834\uDD1E surrogate, four-byte UTF-8"]
|
||||
========
|
||||
["\u0012 escaped control character"]
|
||||
========
|
||||
[0]
|
||||
========
|
||||
[1]
|
||||
|
Loading…
Reference in New Issue
Block a user