more tests

Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
Richard Jones 2022-01-04 11:32:26 -07:00
parent c61d47722e
commit 7292d62cd6
No known key found for this signature in database
GPG Key ID: CFB3A382EB166F4C

View File

@ -84,7 +84,15 @@ setup() {
@test "plan/params" { @test "plan/params" {
cd "$TESTDIR" cd "$TESTDIR"
"$DAGGER" --europa up --with 'foo:"bar"' ./plan/inputs/params/main.cue "$DAGGER" --europa up --with 'inputs: params: foo:"bar"' ./plan/inputs/params/main.cue
run "$DAGGER" --europa up --with 'inputs: params: foo:1' ./plan/inputs/params/main.cue
assert_failure
assert_output --partial "conflicting values string and 1"
run "$DAGGER" --europa up ./plan/inputs/params/main.cue
assert_failure
assert_output --partial "actions.verify.env.FOO: non-concrete value string"
} }
@test "plan/outputs" { @test "plan/outputs" {