From 3f55f4cd1d15c731ab6bfea93a36b7c47f93a93e Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Wed, 10 Mar 2021 13:51:03 -0800 Subject: [PATCH] ported tests + examples to new syntax Signed-off-by: Sam Alba --- stdlib/aws/cloudformation/cloudformation.cue | 2 +- tests/stdlib/alpine/alpine.cue | 4 ++-- tests/stdlib/go/go.cue | 2 +- tests/stdlib/yarn/yarn.cue | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/stdlib/aws/cloudformation/cloudformation.cue b/stdlib/aws/cloudformation/cloudformation.cue index 86b89d24..36c96241 100644 --- a/stdlib/aws/cloudformation/cloudformation.cue +++ b/stdlib/aws/cloudformation/cloudformation.cue @@ -48,7 +48,7 @@ import ( outputs: { [string]: string - #dagger: compute: [ + #compute: [ dagger.#Load & { from: alpine.#Image & { package: bash: "=5.1.0-r0" diff --git a/tests/stdlib/alpine/alpine.cue b/tests/stdlib/alpine/alpine.cue index b9e7186a..2d81e9db 100644 --- a/tests/stdlib/alpine/alpine.cue +++ b/tests/stdlib/alpine/alpine.cue @@ -11,7 +11,7 @@ TestImageVersion: { version: "3.10.6" } - test: #dagger: compute: [ + test: #compute: [ dagger.#Load & {from: image}, dagger.#Exec & { args: [ @@ -31,7 +31,7 @@ TestPackageInstall: { package: curl: "=~7.74.0" } - test: #dagger: compute: [ + test: #compute: [ dagger.#Load & {from: image}, dagger.#Exec & { args: ["jq", "--version"] diff --git a/tests/stdlib/go/go.cue b/tests/stdlib/go/go.cue index 0b98f584..82d16769 100644 --- a/tests/stdlib/go/go.cue +++ b/tests/stdlib/go/go.cue @@ -14,7 +14,7 @@ TestGoBuild: { output: "/bin/testbin" } - test: #dagger: compute: [ + test: #compute: [ dagger.#Load & {from: alpine.#Image}, dagger.#Exec & { args: [ diff --git a/tests/stdlib/yarn/yarn.cue b/tests/stdlib/yarn/yarn.cue index a707eefa..a13a7fec 100644 --- a/tests/stdlib/yarn/yarn.cue +++ b/tests/stdlib/yarn/yarn.cue @@ -13,7 +13,7 @@ TestYarn: { source: TestData } - test: #dagger: compute: [ + test: #compute: [ dagger.#Load & {from: alpine.#Image & { package: bash: "=5.1.0-r0" }},