This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/tests/plan/inputs/directories/exists.cue
Richard Jones f50311de35
refactored test to use #ReadFile
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-17 12:30:35 -07:00

17 lines
320 B
CUE

package main
import (
"alpha.dagger.io/europa/dagger"
"alpha.dagger.io/europa/dagger/engine"
)
dagger.#Plan & {
input: directories: test: path: "./plan/inputs/directories"
actions: verify: engine.#ReadFile & {
input: input.directories.test.contents
path: "test.txt"
} & {
contents: "local directory\n"
}
}