Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This updates the test files from upstream; all additional tests are now also integrated upstream, so I removed them here. The only exception is the one that subseconds are truncated to microseconds as that's implementation defined behaviour, so I added a new unit test here.
The repo was moved from BurntSushi to toml-lang, so renamed a few things to reflect that. The iarna and "compliance" tests are no longer used, so simplify the code a bit as that doesn't need to be supported.
Make the script executable so it can be run with the toml-test runner:
This gives slightly nicer errors (IMHO), and also selfishly makes it a bit easier to keep the test matrix updated, as I won't have to include my own script and can just run this one.
I split this PR in two commits: the first one just updates the TOML and JSON files, and the second has all changes to the code. This way it's a bit easier to review.