From a2b2010f064a6576f9879a2b46a22e6364c6caba Mon Sep 17 00:00:00 2001 From: Forest Eckhardt Date: Tue, 10 Sep 2024 18:25:40 +0000 Subject: [PATCH] Adds file to be detected --- build_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_test.go b/build_test.go index 11bed317..9451f2c3 100644 --- a/build_test.go +++ b/build_test.go @@ -54,6 +54,9 @@ func testBuild(t *testing.T, context spec.G, it spec.S) { err = os.MkdirAll(filepath.Join(layersDir, "mod-cache"), os.ModePerm) Expect(err).NotTo(HaveOccurred()) + _, err = os.CreateTemp(filepath.Join(layersDir, "mod-cache"), "example") + Expect(err).NotTo(HaveOccurred()) + now := time.Now() clock = chronos.NewClock(func() time.Time { return now