diff --git a/examples/tests/compute/invalid/undefined_prop/main.cue b/examples/tests/compute/undefined_prop/main.cue similarity index 92% rename from examples/tests/compute/invalid/undefined_prop/main.cue rename to examples/tests/compute/undefined_prop/main.cue index 64c070f8..1dfd8cb6 100644 --- a/examples/tests/compute/invalid/undefined_prop/main.cue +++ b/examples/tests/compute/undefined_prop/main.cue @@ -1,5 +1,7 @@ package testing +hello: "world" + bar: string #dagger: { diff --git a/examples/tests/test.sh b/examples/tests/test.sh index e9f95f7c..23efca07 100755 --- a/examples/tests/test.sh +++ b/examples/tests/test.sh @@ -29,9 +29,8 @@ test::compute(){ "$dagger" "${DAGGER_BINARY_ARGS[@]}" compute "$d"/compute/noop test::one "Compute: simple should succeed" --exit=0 --stdout="{}" \ "$dagger" "${DAGGER_BINARY_ARGS[@]}" compute "$d"/compute/simple - - disable test::one "Compute: unresolved should fail (FIXME https://github.com/blocklayerhq/dagger/issues/28)" --exit=1 --stdout= \ - "$dagger" "${DAGGER_BINARY_ARGS[@]}" compute "$d"/compute/invalid/undefined_prop + test::one "Compute: unresolved should be ignored" --exit=0 --stdout='{"hello":"world"}' \ + "$dagger" "${DAGGER_BINARY_ARGS[@]}" compute "$d"/compute/undefined_prop } test::fetchcontainer(){