Skip to content

Commit 938c8de

Browse files
committed
internal/core/export: update via CUE_UPDATE=1 go test
CI doesn't actually enforce that `CUE_UPDATE=1 go test ./...` result in zero git changes, as it only requires `go test ./...` to pass and for all CI steps to result in zero git changes. In this particular case, it seems like the export testdata diff was only used for informational purposes and did not affect the outcome of the test. Update it here so that the next commits don't have this noise. Signed-off-by: Daniel Martí <[email protected]> Change-Id: I89ed671294cdb3339e5286e9fc5f75b6e6ff18f0 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1199520 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Roger Peppe <[email protected]>
1 parent fc49f0f commit 938c8de

File tree

1 file changed

+5
-103
lines changed

1 file changed

+5
-103
lines changed

internal/core/export/testdata/main/let.txtar

+5-103
Original file line numberDiff line numberDiff line change
@@ -916,56 +916,7 @@ diff old new
916916
- }
917917
- }]
918918
- files: _|_ // invalid interpolation: cycle error (and 3 more errors)
919-
- scoped: {
920-
- direct: {
921-
- a: 1
922-
- }
923-
- embed1: {
924-
- a: 1
925-
- }
926-
- embed2: {
927-
- a: 1
928-
- }
929-
- list: {
930-
- a: [1]
931-
- }
932-
- listStruct: {
933-
- a: [{
934-
- a: 1
935-
- }]
936-
- }
937-
- listEmbed: {
938-
- a: [1]
939-
- }
940-
- }
941-
- x: "foo"
942-
- incomplete: {
943-
- a: {
944-
- x: _|_ // invalid interpolation: incomplete.a.x: non-concrete value string (type string)
945-
- run: {
946-
- a: string
947-
- }
948-
- }
949-
- b: {
950-
- x: _|_ // invalid interpolation: incomplete.b.x: non-concrete value string (type string)
951-
- run: {
952-
- a: string
953-
- }
954-
- }
955-
- c: {
956-
- x: _|_ // invalid interpolation: incomplete.c.x: non-concrete value string (type string)
957-
- x2: _|_ // invalid interpolation: incomplete.c.x2: non-concrete value string (type string)
958-
- run: {
959-
- a: string
960-
- }
961-
- run2: {
962-
- a: string
963-
- }
964-
- }
965-
- d: {
966-
- x: _|_ // invalid interpolation: incomplete.d.x: non-concrete value string (type string)
967-
- x2: _|_ // invalid interpolation: incomplete.d.x2: non-concrete value string (type string)
968-
+ comprehension: _|_ // comprehension: key value of dynamic field must be concrete, found _|_(invalid interpolation: invalid interpolation: comprehension.filepath: undefined field: name (and 1 more errors)) (and 2 more errors)
919+
+ comprehension: _|_ // comprehension: key value of dynamic field must be concrete, found _|_(invalid interpolation: invalid interpolation: comprehension.filepath: undefined field: name) (and 1 more errors)
969920
+ complete: {
970921
+ x: "a foo z"
971922
+ run: {
@@ -981,59 +932,10 @@ diff old new
981932
+ name: "two"
982933
+ }
983934
+ }]
984-
+ files: _|_ // files: key value of dynamic field must be concrete, found _|_(invalid interpolation: invalid interpolation: filepath: undefined field: name (and 1 more errors)) (and 5 more errors)
985-
+ scoped: {
986-
+ direct: {
987-
+ a: 1
988-
+ }
989-
+ embed1: {
990-
+ a: 1
991-
+ }
992-
+ embed2: {
993-
+ a: 1
994-
+ }
995-
+ list: {
996-
+ a: [1]
997-
+ }
998-
+ listStruct: {
999-
+ a: [{
1000-
+ a: 1
1001-
+ }]
1002-
+ }
1003-
+ listEmbed: {
1004-
+ a: [1]
1005-
+ }
1006-
+ }
1007-
+ x: "foo"
1008-
+ incomplete: {
1009-
+ a: {
1010-
+ x: _|_ // invalid interpolation: incomplete.a.x: non-concrete value string (type string) (and 1 more errors)
1011-
+ run: {
1012-
+ a: string
1013-
+ }
1014-
+ }
1015-
+ b: {
1016-
+ x: _|_ // invalid interpolation: incomplete.b.x: non-concrete value string (type string) (and 1 more errors)
1017-
+ run: {
1018-
+ a: string
1019-
+ }
1020-
+ }
1021-
+ c: {
1022-
+ x: _|_ // invalid interpolation: incomplete.c.x: non-concrete value string (type string) (and 1 more errors)
1023-
+ x2: _|_ // invalid interpolation: incomplete.c.x2: non-concrete value string (type string) (and 1 more errors)
1024-
+ run: {
1025-
+ a: string
1026-
+ }
1027-
+ run2: {
1028-
+ a: string
1029-
+ }
1030-
+ }
1031-
+ d: {
1032-
+ x: _|_ // invalid interpolation: incomplete.d.x: non-concrete value string (type string) (and 1 more errors)
1033-
+ x2: _|_ // invalid interpolation: incomplete.d.x2: non-concrete value string (type string) (and 1 more errors)
1034-
run: {
1035-
a: string
1036-
}
935+
+ files: _|_ // files: key value of dynamic field must be concrete, found _|_(invalid interpolation: invalid interpolation: filepath: undefined field: name) (and 3 more errors)
936+
scoped: {
937+
direct: {
938+
a: 1
1037939
-- diff/value/explanation --
1038940
Improved error messages.
1039941
-- out/value --

0 commit comments

Comments
 (0)