From 0a91de31467ae596a406b1ae80495dee75f88351 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Thu, 14 Jan 2021 17:39:16 -0800 Subject: [PATCH] test: enable noop Signed-off-by: Andrea Luzzardi --- examples/tests/test.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/tests/test.sh b/examples/tests/test.sh index 3728cfc5..95cbd77d 100755 --- a/examples/tests/test.sh +++ b/examples/tests/test.sh @@ -22,9 +22,8 @@ test::compute(){ "$dagger" compute "$d"/compute/invalid/int test::one "Compute: invalid struct should fail" --exit=1 --stdout= \ "$dagger" compute "$d"/compute/invalid/struct - # XXX https://github.com/blocklayerhq/dagger/issues/22 - #test::one "Compute: noop should succeed" --exit=0 --stdout="{}" \ - # "$dagger" compute "$d"/compute/noop + test::one "Compute: noop should succeed" --exit=0 --stdout='{"empty":{},"realempty":{},"withprops":{}}' \ + "$dagger" compute "$d"/compute/noop # XXX https://github.com/blocklayerhq/dagger/issues/28 #test::one "Compute: unresolved should fail" --exit=1 --stdout= \ # "$dagger" compute "$d"/compute/invalid/undefined_prop