encoding/jsonschema: more consistent test data
Currently the tests in `encoding/jsonschema` can have any name for the
schema file, and the output file is ignored if there's an error.
In preparation for adding some actual verification tests, change the
convention so the schema file is always named `schema.json` or
`schema.yaml` and the output is always placed into `out/decode/extract`,
so there's no chance of confusion as to what the actual test result is.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: Ie49110a0e27bf0792162791a0da39b7081952f81
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199737
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
authored by