toml/test2
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
..
.gitignore v0.5 compliant 2019-10-08 16:58:18 -07:00
build.sh Fix toml_json.c output (#85) 2023-09-30 12:36:59 -07:00
Note.txt updated Note.txt to reflect expected error conditions in test2/ 2020-07-14 16:57:35 -07:00
run.sh Fix toml_json.c output (#85) 2023-09-30 12:36:59 -07:00