test: implemented tests for output list
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
19
tests/cli/output/list/main.cue
Normal file
19
tests/cli/output/list/main.cue
Normal file
@@ -0,0 +1,19 @@
|
||||
package main
|
||||
|
||||
#A: {
|
||||
// a string
|
||||
str: string @dagger(output)
|
||||
strSet: "pipo" @dagger(input)
|
||||
strDef: *"yolo" | string @dagger(input)
|
||||
|
||||
// test url description
|
||||
url: "http://this.is.a.test/" @dagger(output)
|
||||
url2: url
|
||||
}
|
||||
|
||||
cfgInline: {
|
||||
#A
|
||||
}
|
||||
|
||||
cfg: #A
|
||||
cfg2: cfg
|
Reference in New Issue
Block a user