this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

encoding/jsonschema: update external test errors

This updates the error output for skipped tests with respect to recent
evaluator changes.

Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: I6cd2f8cd658d9480cabd8addefdeb5dc400054a5
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1205906
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>

+38 -38
+8 -8
encoding/jsonschema/testdata/external/tests/draft2019-09/anchor.json
··· 12 12 } 13 13 }, 14 14 "skip": { 15 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#foo: anchors (foo) not supported (and 1 more errors)", 16 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#foo: anchors (foo) not supported (and 1 more errors)" 15 + "v2": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#foo: anchors (foo) not supported (and 3 more errors)", 16 + "v3": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#foo: anchors (foo) not supported (and 3 more errors)" 17 17 }, 18 18 "tests": [ 19 19 { ··· 50 50 } 51 51 }, 52 52 "skip": { 53 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2019-09/bar#foo: anchors (foo) not supported (and 1 more errors)", 54 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2019-09/bar#foo: anchors (foo) not supported (and 1 more errors)" 53 + "v2": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2019-09/bar#foo: anchors (foo) not supported (and 3 more errors)", 54 + "v3": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2019-09/bar#foo: anchors (foo) not supported (and 3 more errors)" 55 55 }, 56 56 "tests": [ 57 57 { ··· 93 93 } 94 94 }, 95 95 "skip": { 96 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2019-09/nested.json#foo: anchors (foo) not supported (and 1 more errors)", 97 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2019-09/nested.json#foo: anchors (foo) not supported (and 1 more errors)" 96 + "v2": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2019-09/nested.json#foo: anchors (foo) not supported (and 3 more errors)", 97 + "v3": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2019-09/nested.json#foo: anchors (foo) not supported (and 3 more errors)" 98 98 }, 99 99 "tests": [ 100 100 { ··· 141 141 "$ref": "child1#my_anchor" 142 142 }, 143 143 "skip": { 144 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2019-09/child1#my_anchor: anchors (my_anchor) not supported (and 1 more errors)", 145 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2019-09/child1#my_anchor: anchors (my_anchor) not supported (and 1 more errors)" 144 + "v2": "extract error: keyword \"$anchor\" not yet implemented (and 5 more errors)", 145 + "v3": "extract error: keyword \"$anchor\" not yet implemented (and 5 more errors)" 146 146 }, 147 147 "tests": [ 148 148 {
+2 -2
encoding/jsonschema/testdata/external/tests/draft2019-09/optional/anchor.json
··· 34 34 ] 35 35 }, 36 36 "skip": { 37 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#my_anchor: anchors (my_anchor) not supported (and 1 more errors)", 38 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#my_anchor: anchors (my_anchor) not supported (and 1 more errors)" 37 + "v2": "extract error: keyword \"$anchor\" not yet implemented (and 3 more errors)", 38 + "v3": "extract error: keyword \"$anchor\" not yet implemented (and 3 more errors)" 39 39 }, 40 40 "tests": [ 41 41 {
+4 -4
encoding/jsonschema/testdata/external/tests/draft2019-09/ref.json
··· 818 818 } 819 819 }, 820 820 "skip": { 821 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=https://example.com/draft2019-09/ref-and-id2/base.json#bigint: anchors (bigint) not supported (and 1 more errors)", 822 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=https://example.com/draft2019-09/ref-and-id2/base.json#bigint: anchors (bigint) not supported (and 1 more errors)" 821 + "v2": "extract error: cannot determine CUE location for JSON Schema location id=https://example.com/draft2019-09/ref-and-id2/base.json#bigint: anchors (bigint) not supported (and 5 more errors)", 822 + "v3": "extract error: cannot determine CUE location for JSON Schema location id=https://example.com/draft2019-09/ref-and-id2/base.json#bigint: anchors (bigint) not supported (and 5 more errors)" 823 823 }, 824 824 "tests": [ 825 825 { ··· 1059 1059 } 1060 1060 }, 1061 1061 "skip": { 1062 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something: anchors (something) not supported (and 1 more errors)", 1063 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something: anchors (something) not supported (and 1 more errors)" 1062 + "v2": "extract error: cannot determine CUE location for JSON Schema location id=urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something: anchors (something) not supported (and 3 more errors)", 1063 + "v3": "extract error: cannot determine CUE location for JSON Schema location id=urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something: anchors (something) not supported (and 3 more errors)" 1064 1064 }, 1065 1065 "tests": [ 1066 1066 {
+8 -8
encoding/jsonschema/testdata/external/tests/draft2020-12/anchor.json
··· 12 12 } 13 13 }, 14 14 "skip": { 15 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#foo: anchors (foo) not supported (and 1 more errors)", 16 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#foo: anchors (foo) not supported (and 1 more errors)" 15 + "v2": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#foo: anchors (foo) not supported (and 3 more errors)", 16 + "v3": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#foo: anchors (foo) not supported (and 3 more errors)" 17 17 }, 18 18 "tests": [ 19 19 { ··· 50 50 } 51 51 }, 52 52 "skip": { 53 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2020-12/bar#foo: anchors (foo) not supported (and 1 more errors)", 54 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2020-12/bar#foo: anchors (foo) not supported (and 1 more errors)" 53 + "v2": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2020-12/bar#foo: anchors (foo) not supported (and 3 more errors)", 54 + "v3": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2020-12/bar#foo: anchors (foo) not supported (and 3 more errors)" 55 55 }, 56 56 "tests": [ 57 57 { ··· 93 93 } 94 94 }, 95 95 "skip": { 96 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2020-12/nested.json#foo: anchors (foo) not supported (and 1 more errors)", 97 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2020-12/nested.json#foo: anchors (foo) not supported (and 1 more errors)" 96 + "v2": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2020-12/nested.json#foo: anchors (foo) not supported (and 3 more errors)", 97 + "v3": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2020-12/nested.json#foo: anchors (foo) not supported (and 3 more errors)" 98 98 }, 99 99 "tests": [ 100 100 { ··· 141 141 "$ref": "child1#my_anchor" 142 142 }, 143 143 "skip": { 144 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2020-12/child1#my_anchor: anchors (my_anchor) not supported (and 1 more errors)", 145 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=http://localhost:1234/draft2020-12/child1#my_anchor: anchors (my_anchor) not supported (and 1 more errors)" 144 + "v2": "extract error: keyword \"$anchor\" not yet implemented (and 5 more errors)", 145 + "v3": "extract error: keyword \"$anchor\" not yet implemented (and 5 more errors)" 146 146 }, 147 147 "tests": [ 148 148 {
+10 -10
encoding/jsonschema/testdata/external/tests/draft2020-12/dynamicRef.json
··· 63 63 } 64 64 }, 65 65 "skip": { 66 - "v2": "extract error: keyword \"$dynamicRef\" not yet implemented (and 1 more errors)", 67 - "v3": "extract error: keyword \"$dynamicRef\" not yet implemented (and 1 more errors)" 66 + "v2": "extract error: keyword \"$dynamicRef\" not yet implemented (and 3 more errors)", 67 + "v3": "extract error: keyword \"$dynamicRef\" not yet implemented (and 3 more errors)" 68 68 }, 69 69 "tests": [ 70 70 { ··· 343 343 } 344 344 }, 345 345 "skip": { 346 - "v2": "extract error: keyword \"$dynamicRef\" not yet implemented (and 3 more errors)", 347 - "v3": "extract error: keyword \"$dynamicRef\" not yet implemented (and 3 more errors)" 346 + "v2": "extract error: keyword \"$anchor\" not yet implemented (and 5 more errors)", 347 + "v3": "extract error: keyword \"$anchor\" not yet implemented (and 5 more errors)" 348 348 }, 349 349 "tests": [ 350 350 { ··· 388 388 } 389 389 }, 390 390 "skip": { 391 - "v2": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 3 more errors)", 392 - "v3": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 3 more errors)" 391 + "v2": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 5 more errors)", 392 + "v3": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 5 more errors)" 393 393 }, 394 394 "tests": [ 395 395 { ··· 434 434 } 435 435 }, 436 436 "skip": { 437 - "v2": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 5 more errors)", 438 - "v3": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 5 more errors)" 437 + "v2": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 7 more errors)", 438 + "v3": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 7 more errors)" 439 439 }, 440 440 "tests": [ 441 441 { ··· 562 562 } 563 563 }, 564 564 "skip": { 565 - "v2": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 3 more errors)", 566 - "v3": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 3 more errors)" 565 + "v2": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 5 more errors)", 566 + "v3": "extract error: keyword \"$dynamicAnchor\" not yet implemented (and 5 more errors)" 567 567 }, 568 568 "tests": [ 569 569 {
+2 -2
encoding/jsonschema/testdata/external/tests/draft2020-12/optional/anchor.json
··· 34 34 ] 35 35 }, 36 36 "skip": { 37 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#my_anchor: anchors (my_anchor) not supported (and 1 more errors)", 38 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=https://cue.jsonschema.invalid#my_anchor: anchors (my_anchor) not supported (and 1 more errors)" 37 + "v2": "extract error: keyword \"$anchor\" not yet implemented (and 3 more errors)", 38 + "v3": "extract error: keyword \"$anchor\" not yet implemented (and 3 more errors)" 39 39 }, 40 40 "tests": [ 41 41 {
+4 -4
encoding/jsonschema/testdata/external/tests/draft2020-12/ref.json
··· 818 818 } 819 819 }, 820 820 "skip": { 821 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=https://example.com/draft2020-12/ref-and-id2/base.json#bigint: anchors (bigint) not supported (and 1 more errors)", 822 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=https://example.com/draft2020-12/ref-and-id2/base.json#bigint: anchors (bigint) not supported (and 1 more errors)" 821 + "v2": "extract error: cannot determine CUE location for JSON Schema location id=https://example.com/draft2020-12/ref-and-id2/base.json#bigint: anchors (bigint) not supported (and 5 more errors)", 822 + "v3": "extract error: cannot determine CUE location for JSON Schema location id=https://example.com/draft2020-12/ref-and-id2/base.json#bigint: anchors (bigint) not supported (and 5 more errors)" 823 823 }, 824 824 "tests": [ 825 825 { ··· 1059 1059 } 1060 1060 }, 1061 1061 "skip": { 1062 - "v2": "extract error: cannot determine CUE location for JSON Schema location id=urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something: anchors (something) not supported (and 1 more errors)", 1063 - "v3": "extract error: cannot determine CUE location for JSON Schema location id=urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something: anchors (something) not supported (and 1 more errors)" 1062 + "v2": "extract error: cannot determine CUE location for JSON Schema location id=urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something: anchors (something) not supported (and 3 more errors)", 1063 + "v3": "extract error: cannot determine CUE location for JSON Schema location id=urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#something: anchors (something) not supported (and 3 more errors)" 1064 1064 }, 1065 1065 "tests": [ 1066 1066 {