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.
Removed the go-spew dependency since it's not really necessary. There were two places it was being used.
For parser_test I recreated the same form Sdump was outputting with pure fmt flags.
This was not possible for toml_testgen_support_test without reimplementing the functionality of go-spew, so I just did a basic, non-pretty dump. Personally, I think the non-pretty dump is better than prettying it up with json.MarshalIndent (which loses typing information but does not seem necessary). The reason for this is that it's easy to copy/redirect the terminal out to a file and visually compare the flattened lines to see when they stop being the same, this is much more difficult with pretty-printing as you have to jump back and forth etc. If you don't agree, I'm happy to change it to MarshalIndent.
For the original outputs vs the ones produced by the changes in this PR (and also the json.MarshalIndent version), see here.