tests: convert tests to new style

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-10-20 12:03:22 -07:00
parent c08f619b02
commit d763976ea9
13 changed files with 79 additions and 104 deletions

View File

@@ -1,17 +1,19 @@
package testing
import "alpha.dagger.io/dagger/op"
new_prop: "lala"
#new_def: "lala"
new_prop_too: string
#new_def_too: string
#up: [{
do: "fetch-container"
ref: "busybox"
},
{
do: "exec"
#up: [
op.#FetchContainer & {
ref: "busybox"
},
op.#Exec & {
args: ["true"]
dir: "/"
}]
},
]

View File

@@ -1,5 +1,7 @@
package testing
import "alpha.dagger.io/dagger/op"
foo: {
new_prop: "lala"
#new_def: "lala"
@@ -7,13 +9,13 @@ foo: {
new_prop_too: string
#new_def_too: string
#up: [{
do: "fetch-container"
ref: "busybox"
},
{
do: "exec"
#up: [
op.#FetchContainer & {
ref: "busybox"
},
op.#Exec & {
args: ["true"]
dir: "/"
}]
},
]
}