test: cue fmt

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-05-26 12:33:08 +02:00
parent a4167dc3f4
commit 3ae6b6f01b

View File

@ -2,12 +2,12 @@ package main
import ( import (
"dagger.io/dagger" "dagger.io/dagger"
"dagger.io/aws" "dagger.io/aws"
) )
awsConfig: aws.#Config & { awsConfig: aws.#Config & {
// force region // force region
region: "us-east-1" region: "us-east-1"
} }
#A: { #A: {
@ -28,17 +28,17 @@ awsConfig: aws.#Config & {
num: int | *42 @dagger(input) num: int | *42 @dagger(input)
numNotInput: int numNotInput: int
// aws config // aws config
cfg: awsConfig cfg: awsConfig
} }
cfgInline: { cfgInline: {
#A #A
} }
cfg: #A & { cfg: #A & {
// force this key // force this key
num: 21 num: 21
} }
cfg2: cfg cfg2: cfg