Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/jsonschema: fix type exclusion test
This test was added by https://cue-review.googlesource.com/c/cue/+/5648 but included a case that was later made an error in https://cue-review.googlesource.com/c/cue/+/6302 (the self-contradictory `allOf` case), thus meaning the rest of the test was not actually checked. We move that case into its own test, ensuring that the other cases pass. We also rename the `emptyanyof` because it is not actually testing an empty anyOf, but rather an empty object _inside_ an anyOf. Signed-off-by: Roger Peppe <[email protected]> Change-Id: Id01c93b9085bff7726e8042a8d039e0ee5fd7ceb Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199398 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
- Loading branch information