Adds support for op.#FetchHTTP

Signed-off-by: Edgar Lee <edgarhinshunlee@gmail.com>
This commit is contained in:
Edgar Lee
2021-07-06 14:29:36 -07:00
committed by Edgar Lee
parent 7146223ec7
commit 0501ae91a5
7 changed files with 99 additions and 0 deletions

View File

@@ -113,6 +113,14 @@ setup() {
# assert_failure
}
@test "op.#FetchHTTP" {
run "$DAGGER" compute "$TESTDIR"/ops/fetch-http/exist
assert_success
run "$DAGGER" compute "$TESTDIR"/ops/fetch-http/nonexistent
assert_failure
}
@test "op.#Exec" {
run "$DAGGER" compute "$TESTDIR"/ops/exec/invalid
assert_failure