Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/jsonschema: add test for numeric enum with type
The current logic causes an error when combining the `type` specifier with a numeric enum. This change adds a test that demonstrates that issue, to be fixed in a subsequent CL. For #3173. Signed-off-by: Roger Peppe <rogpeppe@gmail.com> Change-Id: Ie401aea5a165e7c6353ef12473adcc6a45ddce35 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199213 Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
- Loading branch information