Merge pull request #61 from blocklayerhq/undefined-prop-test
test: re-enable undefined prop test
This commit is contained in:
commit
843f24d763
@ -1,5 +1,7 @@
|
|||||||
package testing
|
package testing
|
||||||
|
|
||||||
|
hello: "world"
|
||||||
|
|
||||||
bar: string
|
bar: string
|
||||||
|
|
||||||
#dagger: {
|
#dagger: {
|
@ -29,9 +29,8 @@ test::compute(){
|
|||||||
"$dagger" "${DAGGER_BINARY_ARGS[@]}" compute "$d"/compute/noop
|
"$dagger" "${DAGGER_BINARY_ARGS[@]}" compute "$d"/compute/noop
|
||||||
test::one "Compute: simple should succeed" --exit=0 --stdout="{}" \
|
test::one "Compute: simple should succeed" --exit=0 --stdout="{}" \
|
||||||
"$dagger" "${DAGGER_BINARY_ARGS[@]}" compute "$d"/compute/simple
|
"$dagger" "${DAGGER_BINARY_ARGS[@]}" compute "$d"/compute/simple
|
||||||
|
test::one "Compute: unresolved should be ignored" --exit=0 --stdout='{"hello":"world"}' \
|
||||||
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/undefined_prop
|
||||||
"$dagger" "${DAGGER_BINARY_ARGS[@]}" compute "$d"/compute/invalid/undefined_prop
|
|
||||||
}
|
}
|
||||||
|
|
||||||
test::fetchcontainer(){
|
test::fetchcontainer(){
|
||||||
|
Reference in New Issue
Block a user