this repo has no description
0
fork

Configure Feed

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

cue/testdata: rename #todo:inline: markers

Rename all remaining #todo:inline: archive comment
markers to #inlinetest:exclude, matching the
convention enforced by the inline runner.

Also condense a few verbose comments while at it.

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

+51 -52
+2
cue/testdata/builtins/versionchk.txtar
··· 1 + #inlinetest:exclude the CUE source triggers a compile-time version error which 2 + # prevents the inline runner from compiling the source. 1 3 -- cue.mod/module.cue -- 2 4 module: "cuelang.org/go/internal/core/adt/eval_test" 3 5 language: version: "v0.8.0"
+1 -1
cue/testdata/compile/err_top.txtar
··· 1 - #todo:inline: skip — compile errors. 1 + #inlinetest:exclude skip — compile errors. 2 2 -- in.cue -- 3 3 disallowTopAsAlias: { 4 4 _=X: 1
+1 -1
cue/testdata/compile/erralias.txtar
··· 1 1 // Caused a stack overflow on evalv2. 2 - #todo:inline: skip: compile errors. 2 + #inlinetest:exclude skip: compile errors. 3 3 -- in.cue -- 4 4 let X = {} 5 5
+1 -1
cue/testdata/compile/labels.txtar
··· 1 - #todo:inline: skip: compile errors. 1 + #inlinetest:exclude skip: compile errors. 2 2 -- in.cue -- 3 3 package compile 4 4
+1 -1
cue/testdata/compile/let.txtar
··· 1 1 #expandLetExpr: true 2 - #todo:inline: skip: compile errors. 2 + #inlinetest:exclude skip: compile errors. 3 3 -- in.cue -- 4 4 a: { 5 5 let X = Y
+2 -3
cue/testdata/comprehensions/else_compile_errors.txtar
··· 1 - # Note: cannot convert to inline @test format because the CUE source files 2 - # contain compile-time errors (references to out-of-scope variables), which 3 - # prevents the inline test runner from compiling the source. 1 + #inlinetest:exclude CUE source contains compile-time errors (out-of-scope references) 2 + # which prevent the inline test runner from compiling the source. 4 3 -- in.cue -- 5 4 @experiment(try) 6 5
+2 -4
cue/testdata/comprehensions/try_compile_errors.txtar
··· 1 - # Cannot convert to inline @test format: the CUE source contains compile-time 2 - # errors (e.g. "struct-form try clause must be the last clause", "optional 3 - # marker (?) is only valid within a try clause", "reference not found") which 4 - # prevent the inline runner from compiling and loading the source file. 1 + #inlinetest:exclude CUE source contains compile-time errors (try-clause syntax, missing 2 + # references) which prevent the inline runner from compiling the source. 5 3 -- in.cue -- 6 4 @experiment(try) 7 5
+5 -7
cue/testdata/cycle/issue1960.txtar
··· 1 - # Tests that let-alias cycles and comprehension cycles in deeply nested structs 2 - # do not cause incorrect "was already used" or spurious cycle errors. t1 uses a 3 - # let alias that indirectly references an enclosing comprehension variable; t2 4 - # has the same structure but with an unreferenced let (compile-time error in 5 - # CUE, so this file cannot be converted to inline @test format). t3 exercises a 6 - # recursive definition with computed-field access through a let and a comprehension. 7 - # Cannot convert to inline format: t2 has a compile-time unreferenced-alias error. 1 + #inlinetest:exclude t2 contains an unreferenced-alias compile-time error, preventing 2 + # full inline conversion. 3 + # Tests let-alias cycles and comprehension cycles in deeply nested structs; t1 4 + # uses a let alias referencing an enclosing comprehension variable; t3 exercises 5 + # recursive definitions with computed-field access through a let and comprehension. 8 6 -- issue1960.cue -- 9 7 // evalv3 regression: a spurious structural cycle error was reported for a 10 8 // pattern that had previously evaluated correctly, causing valid CUE to fail.
+1 -1
cue/testdata/eval/basictypes.txtar
··· 1 - #todo:inline: skip: compile errors. TODO: investigates 1 + #inlinetest:exclude skip: compile errors. TODO: investigates 2 2 -- cue.mod/module.cue -- 3 3 module: "test.com" 4 4 language: version: "v0.15.0"
+1 -1
cue/testdata/export/000.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 "hello" 4 4 -- out/compile --
+1 -1
cue/testdata/export/001.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 'hello' 4 4 -- out/compile --
+1 -1
cue/testdata/export/002.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 'hello\nworld' 4 4 -- out/compile --
+1 -1
cue/testdata/export/003.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 "hello\nworld" 4 4 -- out/compile --
+1 -1
cue/testdata/export/004.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 { 4 4 $type: 3
+1 -1
cue/testdata/export/005.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 {a: 1, b: a + 2, c: null, d: true, e: _, f: string} 4 4 -- out/compile --
+1 -1
cue/testdata/export/006.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 {a: {b: 2.0, s: "abc"}, b: a.b, c: a.c, d: a["d"], e: a.t[2:3]} 4 4 -- out/compile --
+1 -1
cue/testdata/export/007.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 { 4 4 #a: {b: 2.0, s: "abc"}
+1 -1
cue/testdata/export/008.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 {a: [ 3 & 4]} 4 4 -- out/compile --
+1 -1
cue/testdata/export/009.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 import "list" 4 4
+1 -1
cue/testdata/export/010.txtar
··· 1 1 raw: true 2 - #todo:inline: skip — tests export format, not evaluator semantics 2 + #inlinetest:exclude skip — tests export format, not evaluator semantics 3 3 -- in.cue -- 4 4 import "list" 5 5
+1 -1
cue/testdata/export/011.txtar
··· 1 1 raw: true 2 - #todo:inline: skip — tests export format, not evaluator semantics 2 + #inlinetest:exclude skip — tests export format, not evaluator semantics 3 3 -- in.cue -- 4 4 {a: {b: []}, c: a.b, d: a["b"]} 5 5 -- out/compile --
+1 -1
cue/testdata/export/012.txtar
··· 1 1 raw: true 2 - #todo:inline: skip — tests export format, not evaluator semantics 2 + #inlinetest:exclude skip — tests export format, not evaluator semantics 3 3 -- in.cue -- 4 4 {a: *"foo" | *"bar" | *string | int, b: a[2:3]} 5 5 -- out/compile --
+1 -1
cue/testdata/export/013.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 { 4 4 a: >=0 & <=10 & !=1
+1 -1
cue/testdata/export/014.txtar
··· 1 1 raw: true 2 - #todo:inline: skip — tests export format, not evaluator semantics 2 + #inlinetest:exclude skip — tests export format, not evaluator semantics 3 3 -- in.cue -- 4 4 { 5 5 a: >=0 & <=10 & !=1
+1 -1
cue/testdata/export/015.txtar
··· 1 1 raw: true 2 2 eval: true 3 - #todo:inline: skip — tests export format, not evaluator semantics 3 + #inlinetest:exclude skip — tests export format, not evaluator semantics 4 4 -- in.cue -- 5 5 { 6 6 a: (*1 | 2) & (1 | *2)
+1 -1
cue/testdata/export/016.txtar
··· 1 1 raw: true 2 2 eval: true 3 - #todo:inline: skip — tests export format, not evaluator semantics 3 + #inlinetest:exclude skip — tests export format, not evaluator semantics 4 4 -- in.cue -- 5 5 { 6 6 u16: int & >=0 & <=65535
+1 -1
cue/testdata/export/017.txtar
··· 1 1 raw: true 2 - #todo:inline: skip — tests export format, not evaluator semantics 2 + #inlinetest:exclude skip — tests export format, not evaluator semantics 3 3 -- in.cue -- 4 4 {a: [1, 2], b: {for k, v in a if v > 1 {"\(k)": v}}} 5 5 -- out/compile --
+1 -1
cue/testdata/export/018.txtar
··· 1 1 raw: true 2 - #todo:inline: skip — tests export format, not evaluator semantics 2 + #inlinetest:exclude skip — tests export format, not evaluator semantics 3 3 -- in.cue -- 4 4 {a: [1, 2], b: [for k, v in a {v}]} 5 5 -- out/compile --
+1 -1
cue/testdata/export/019.txtar
··· 1 1 raw: true 2 - #todo:inline: skip — tests export format, not evaluator semantics 2 + #inlinetest:exclude skip — tests export format, not evaluator semantics 3 3 -- in.cue -- 4 4 {a: >=0 & <=10, b: "Count: \(a) times"} 5 5 -- out/compile --
+1 -1
cue/testdata/export/020.txtar
··· 1 1 raw: true 2 - #todo:inline: skip — tests export format, not evaluator semantics 2 + #inlinetest:exclude skip — tests export format, not evaluator semantics 3 3 -- in.cue -- 4 4 {a: "", b: len(a)} 5 5 -- out/eval/stats --
+1 -1
cue/testdata/export/021.txtar
··· 1 1 raw: true 2 2 eval: true 3 - #todo:inline: skip — tests export format, not evaluator semantics 3 + #inlinetest:exclude skip — tests export format, not evaluator semantics 4 4 -- in.cue -- 5 5 { 6 6 b: {
+1 -1
cue/testdata/export/022.txtar
··· 1 1 raw: true 2 2 eval: true 3 3 noOpt: true 4 - #todo:inline: skip — tests export format, not evaluator semantics 4 + #inlinetest:exclude skip — tests export format, not evaluator semantics 5 5 -- in.cue -- 6 6 { 7 7 job: [Name=_]: {
+1 -1
cue/testdata/export/023.txtar
··· 1 1 raw: true 2 - #todo:inline: skip — tests export format, not evaluator semantics 2 + #inlinetest:exclude skip — tests export format, not evaluator semantics 3 3 -- in.cue -- 4 4 { 5 5 #emb: {
+1 -1
cue/testdata/export/024.txtar
··· 1 1 raw: true 2 2 eval: true 3 3 noOpt: true 4 - #todo:inline: skip — tests export format, not evaluator semantics 4 + #inlinetest:exclude skip — tests export format, not evaluator semantics 5 5 -- in.cue -- 6 6 { 7 7 reg: {foo: 1, bar: {baz: 3}}
+1 -1
cue/testdata/export/025.txtar
··· 1 1 raw: true 2 2 eval: true 3 - #todo:inline: skip — tests export format, not evaluator semantics 3 + #inlinetest:exclude skip — tests export format, not evaluator semantics 4 4 -- in.cue -- 5 5 { 6 6 b: [{
+1 -1
cue/testdata/export/026.txtar
··· 1 1 raw: true 2 - #todo:inline: skip — tests export format, not evaluator semantics 2 + #inlinetest:exclude skip — tests export format, not evaluator semantics 3 3 -- in.cue -- 4 4 { 5 5 if false {
+1 -1
cue/testdata/export/027.txtar
··· 4 4 5 5 raw: true 6 6 eval: true 7 - #todo:inline: skip — tests export format, not evaluator semantics 7 + #inlinetest:exclude skip — tests export format, not evaluator semantics 8 8 -- in.cue -- 9 9 { 10 10 #Foo: {
+1 -1
cue/testdata/export/028.txtar
··· 1 1 raw: true 2 2 eval: true 3 - #todo:inline: skip — tests export format, not evaluator semantics 3 + #inlinetest:exclude skip — tests export format, not evaluator semantics 4 4 -- in.cue -- 5 5 { 6 6 #FindInMap: {
+1 -1
cue/testdata/export/029.txtar
··· 1 1 raw: true 2 2 eval: true 3 3 noOpt: true 4 - #todo:inline: skip — tests export format, not evaluator semantics 4 + #inlinetest:exclude skip — tests export format, not evaluator semantics 5 5 -- in.cue -- 6 6 { 7 7 #And: {
+1 -1
cue/testdata/export/030.txtar
··· 1 1 raw: true 2 2 eval: true 3 - #todo:inline: skip — tests export format, not evaluator semantics 3 + #inlinetest:exclude skip — tests export format, not evaluator semantics 4 4 -- in.cue -- 5 5 { 6 6 #Foo: {
+1 -1
cue/testdata/export/031.txtar
··· 1 1 raw: true 2 2 eval: true 3 - #todo:inline: skip — tests export format, not evaluator semantics 3 + #inlinetest:exclude skip — tests export format, not evaluator semantics 4 4 -- in.cue -- 5 5 { 6 6 A: [uint]
+1 -1
cue/testdata/export/032.txtar
··· 1 - #todo:inline: skip — tests export format, not evaluator semantics 1 + #inlinetest:exclude skip — tests export format, not evaluator semantics 2 2 -- in.cue -- 3 3 { 4 4 [string]: _
+2
cue/testdata/packages/builtin.txtar
··· 1 + #inlinetest:exclude imports an undefined package "x/y"; the inline runner cannot 2 + # compile the source when package resolution fails. 1 3 -- x.cue -- 2 4 import "x/y" 3 5