From 2bd4679646a01e40a5083689ac38ad322ac86a50 Mon Sep 17 00:00:00 2001 From: Sam Alba Date: Tue, 1 Jun 2021 15:12:08 +0200 Subject: [PATCH] fixed ci Signed-off-by: Sam Alba --- tests/cli.bats | 10 +++++----- tests/cli/output/list/main.cue | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/cli.bats b/tests/cli.bats index d7927380..a0ddcff6 100644 --- a/tests/cli.bats +++ b/tests/cli.bats @@ -296,28 +296,28 @@ setup() { outAll="$("$DAGGER" input list --all -e "list")" #note: this is the recommended way to use pipes with bats - run bash -c "echo \"$out\" | grep awsConfig.accessKey | grep '#Secret' | grep false" + run bash -c "echo \"$out\" | grep awsConfig.accessKey | grep 'dagger.#Secret' | grep 'AWS access key'" assert_success - run bash -c "echo \"$out\" | grep cfgInline.source | grep '#Artifact' | grep false | grep 'source dir'" + run bash -c "echo \"$out\" | grep cfgInline.source | grep 'dagger.#Artifact' | grep false | grep 'source dir'" assert_success run bash -c "echo \"$outAll\" | grep cfg2" assert_failure - run bash -c "echo \"$out\" | grep cfgInline.strDef | grep string | grep 'yolo (default)' | grep false" + run bash -c "echo \"$out\" | grep cfgInline.strDef | grep '*yolo | string' | grep false" assert_success run bash -c "echo \"$out\" | grep cfg.num" assert_failure - run bash -c "echo \"$outAll\" | grep cfg.num | grep int" + run bash -c "echo \"$outAll\" | grep cfg.num | grep 21 | grep -v int" assert_success run bash -c "echo \"$out\" | grep cfg.strSet" assert_failure - run bash -c "echo \"$outAll\" | grep cfg.strSet | grep string | grep pipo" + run bash -c "echo \"$outAll\" | grep cfg.strSet | grep pipo" assert_success } diff --git a/tests/cli/output/list/main.cue b/tests/cli/output/list/main.cue index 18a3ef5d..a19ae14d 100644 --- a/tests/cli/output/list/main.cue +++ b/tests/cli/output/list/main.cue @@ -13,7 +13,7 @@ import ( // test url description url: "http://this.is.a.test/" @dagger(output) url2: url - foo: int | *42 @dagger(output) + foo: int | *42 @dagger(output) bar: dagger.#Artifact @dagger(output) }