more tests
Signed-off-by: Richard Jones <richard@dagger.io>
This commit is contained in:
parent
c61d47722e
commit
7292d62cd6
@ -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" {
|
||||||
|
Reference in New Issue
Block a user