From a184fe6fce8b1e5be398c096a55e377f2a2d65f1 Mon Sep 17 00:00:00 2001 From: Joel Longtine Date: Fri, 7 Jan 2022 16:41:36 -0700 Subject: [PATCH] Smaller, cleaner test Signed-off-by: Joel Longtine --- tests/tasks/scratch/scratch_build_scratch.cue | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/tasks/scratch/scratch_build_scratch.cue b/tests/tasks/scratch/scratch_build_scratch.cue index ec89f6aa..8eb1e08e 100644 --- a/tests/tasks/scratch/scratch_build_scratch.cue +++ b/tests/tasks/scratch/scratch_build_scratch.cue @@ -6,18 +6,10 @@ import ( engine.#Plan & { actions: { - write: engine.#WriteFile & { - input: engine.#Scratch - path: "/.dockerignore" - contents: "Dockerfile" - permissions: 700 - } build: engine.#Build & { - source: write.output - dockerfile: contents: """ - FROM scratch - """ + source: engine.#Scratch + dockerfile: contents: "FROM scratch" // Assert that output is engine.#Scratch output: engine.#Scratch }