stdlib: dagger.#Output
Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
committed by
Solomon Hykes
parent
8383efdba6
commit
53f4ef049a
@@ -9,7 +9,7 @@ setup() {
|
||||
unset DAGGER_WORKSPACE
|
||||
}
|
||||
|
||||
@test "core: inputs" {
|
||||
@test "core: inputs & outputs" {
|
||||
# List available inputs
|
||||
run dagger -e test-core input list
|
||||
assert_success
|
||||
@@ -22,9 +22,14 @@ setup() {
|
||||
assert_success
|
||||
assert_output --partial 'Hello, Bob!'
|
||||
|
||||
run dagger -e test-core output list
|
||||
assert_success
|
||||
assert_output --partial 'message "Hello, Bob!"'
|
||||
|
||||
# Unset text input
|
||||
dagger -e test-core input unset name
|
||||
run dagger -e test-core up
|
||||
assert_success
|
||||
assert_output --partial 'Hello, world!'
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user