this repo has no description
0
fork

Configure Feed

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

cue/testdata: force update cleanup

We will use CUE_UPDATE=force in some follow up CLs.
This exposed that some files will be updated as a
result.

Move this in a separate CL to avoid clutter.

Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I0a38a332cf9bc94740ac8ee49990a7f0ef5401d4
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1235494
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>

+28 -28
+2 -2
cue/testdata/builtins/issue4208.txtar
··· 15 15 invalid: foo: {} @test(err, code=eval, contains="field not allowed", incorrect) @test(err:todo, code=eval, contains="Must specify a valid environment") 16 16 17 17 18 - @test(debug, #""" 18 + @test(debug, """ 19 19 (_|_){ 20 20 // [eval] 21 21 #Environment: (string){ |((string){ "sbx" }, (string){ "stg" }, (string){ "pro" }) } ··· 33 33 } 34 34 } 35 35 } 36 - """#) 36 + """) 37 37 38 38 -- out/errors.txt -- 39 39 [eval] invalid.foo: field not allowed:
+2 -2
cue/testdata/definitions/036_closing_with_failed_optional.txtar
··· 17 17 }) 18 18 19 19 // Note: a? can be discarded safely. 20 - v1: #d1 & {a?: 3, b: 4} @test(closed) @test(eq, {b: 4}) @test(debug, #""" 20 + v1: #d1 & {a?: 3, b: 4} @test(closed) @test(eq, {b: 4}) @test(debug, """ 21 21 (#struct){ 22 22 a?: (_|_){ 23 23 // [eval] v1.a: conflicting values 2 and 3: ··· 27 27 } 28 28 b: (int){ 4 } 29 29 } 30 - """#) 30 + """) 31 31 32 32 #A: {a: int} 33 33 -- out/errors.txt --
+2 -2
cue/testdata/definitions/exclude.txtar
··· 5 5 // Two lets with the same name should not unify and checked by definition. 6 6 #D: { let X = {}, #foo: X, f: _ } 7 7 a: #D 8 - a: { let X = { a: 1 }, f: X } @test(debugCheck, #""" 8 + a: { let X = { a: 1 }, f: X } @test(debugCheck, """ 9 9 (#struct){ 10 10 let X#2 = (struct){ 11 11 a: (int){ 1 } ··· 18 18 #foo: (#struct){ 19 19 } 20 20 } 21 - """#) 21 + """) 22 22 23 23 @test(eq, { 24 24 #D: {
+2 -2
cue/testdata/definitions/issue3834.txtar
··· 95 95 _a: _ | close({y!: z?: _}) 96 96 _b: _a & {y: {}} 97 97 concrete: _b.y @test(eq, {}) 98 - @test(debug, #""" 98 + @test(debug, """ 99 99 (#struct){ 100 100 _a: (#struct){ 101 101 foo: (bool){ true } ··· 108 108 concrete: (#struct){ 109 109 } 110 110 } 111 - """#) 111 + """) 112 112 } 113 113 #X 114 114
+2 -2
cue/testdata/definitions/root5.txtar
··· 33 33 } 34 34 }) 35 35 // TODO(inline): fix sharing detection across hidden fields. 36 - @test(debug, #""" 36 + @test(debug, """ 37 37 (#struct){ 38 38 _schema: ~(#Schema) 39 39 #Schema: (#struct){ ··· 58 58 c: (string){ "foo" } 59 59 } 60 60 } 61 - """#) 61 + """) 62 62 -- out/eval/stats -- 63 63 Leaks: 0 64 64 Freed: 16
+1 -1
cue/testdata/fulleval/020_complex_interaction_of_groundness.txtar
··· 8 8 res: [ {d: "b", s: "ab"} ] 9 9 a: b: c: { 10 10 d: string 11 - s: _|_ @test(err, code=incomplete, pos=[4:23, 4:34, 5:13]) 11 + s: _|_ @test(err, code=incomplete, pos=[4:34, 4:23, 5:13]) 12 12 } 13 13 }) 14 14 -- out/compile --
+17 -17
cue/testdata/resolve/011_bounds.txtar
··· 71 71 ./in.cue:51:20 72 72 ./in.cue:51:13 73 73 [eval] e1: conflicting values null and !=null (mismatched types null and (bool|string|bytes|func|list|struct|number)): 74 + ./in.cue:56:5 75 + ./in.cue:56:12 76 + [eval] e2: conflicting values null and !=null (mismatched types null and (bool|string|bytes|func|list|struct|number)): 74 77 ./in.cue:57:5 75 - ./in.cue:57:12 76 - [eval] e2: conflicting values null and !=null (mismatched types null and (bool|string|bytes|func|list|struct|number)): 78 + ./in.cue:57:14 79 + [eval] e3: invalid value 1 (out of bound >1): 77 80 ./in.cue:58:5 78 - ./in.cue:58:14 79 - [eval] e3: invalid value 1 (out of bound >1): 81 + ./in.cue:58:10 82 + [eval] e4: invalid value 0 (out of bound <0): 80 83 ./in.cue:59:5 81 84 ./in.cue:59:10 82 - [eval] e4: invalid value 0 (out of bound <0): 83 - ./in.cue:60:5 84 - ./in.cue:60:10 85 85 [eval] e5: incompatible number bounds <0 and >1: 86 - ./in.cue:61:10 87 - ./in.cue:61:5 86 + ./in.cue:60:10 87 + ./in.cue:60:5 88 88 [eval] e6: incompatible number bounds <11 and >11: 89 - ./in.cue:62:11 89 + ./in.cue:61:11 90 + ./in.cue:61:5 91 + [eval] e7: incompatible number bounds <11 and >=11: 92 + ./in.cue:62:12 90 93 ./in.cue:62:5 91 - [eval] e7: incompatible number bounds <11 and >=11: 92 - ./in.cue:63:12 94 + [eval] e8: incompatible number bounds <=11 and >11: 95 + ./in.cue:63:11 93 96 ./in.cue:63:5 94 - [eval] e8: incompatible number bounds <=11 and >11: 95 - ./in.cue:64:11 96 - ./in.cue:64:5 97 97 [eval] e9: conflicting values >"a" and <1 (mismatched types string and number): 98 - ./in.cue:65:5 99 - ./in.cue:65:12 98 + ./in.cue:64:5 99 + ./in.cue:64:12 100 100 -- out/compile -- 101 101 --- in.cue 102 102 {