From 7292d62cd6f76bd8c7763cd18667c3bd0cd65879 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 4 Jan 2022 11:32:26 -0700 Subject: [PATCH] more tests Signed-off-by: Richard Jones --- tests/plan.bats | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/plan.bats b/tests/plan.bats index ce83a5b3..52b567a4 100644 --- a/tests/plan.bats +++ b/tests/plan.bats @@ -84,7 +84,15 @@ setup() { @test "plan/params" { 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" {