encoding/jsonschema: improve teststats
It's useful to be able to print all the tests that fail
in v3-roundtrip that don't fail in v3, so add that
functionality.
Also try to print a position from the embedded json
data rather than from the schema that verifies it.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: Ic40fece68bff3ccd5aa2e099288b0f2634468865
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1224358
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>