Commit graph

10 commits

Author SHA1 Message Date
Martin Tournoij
5221b3d3d6
Fix toml_json.c output (#85)
* Fix toml_json.c output

There were two issues; partly related to changes in upstream toml-test:

- Use appropriate type for local date and times.

- The arrays would get printed as:

      {"type": "array", "value": [...the values...]}

  But this should just be:

      [...the values...]

  It also wouldn't print mixed arrays because 'm' was missing in the
  switch; I adapted this from toml_cat.c.

Before:

	toml-test [./toml_json]: using embedded tests: 328 passed, 87 failed

After:

	toml-test [./toml_json]: using embedded tests: 351 passed, 64 failed

The remaining test failures look like a few minor issues in toml.c,
rather than toml_json.c

* Also fix the "test1" toml-test runner
2023-09-30 12:36:59 -07:00
CK Tan
9ea8eedd85 updated Note.txt to reflect expected error conditions in test2/ 2020-07-14 16:57:35 -07:00
CK Tan
c59fa7a058 Note.txt 2020-06-13 16:19:27 -07:00
CK Tan
f31bcd0adf prettier prints 2019-10-10 17:34:45 -07:00
CK Tan
f782b12864 test output from jq needs to be sorted 2019-10-10 17:32:54 -07:00
CK Tan
2453664abb updated test2/run.sh 2019-10-10 04:15:45 -07:00
CK Tan
987f4ef0d7 refine run.sh 2019-10-10 01:28:09 -07:00
CK Tan
685ca97470 refine run.sh 2019-10-10 01:23:20 -07:00
CK Tan
896561d5b7 update test2 2019-10-10 01:11:52 -07:00
CK Tan
c32a6e92f1 v0.5 compliant 2019-10-08 16:58:18 -07:00