From 2909b34f8c401c2a1da8ee307bc28aa5435276c2 Mon Sep 17 00:00:00 2001 From: Wallace Wadge Date: Fri, 10 Nov 2023 12:51:38 +0100 Subject: [PATCH] Bump Gradle to 8.4, fix cache. --- .../tools/jib/plugins/common/SkaffoldFilesOutputTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jib-plugins-common/src/test/java/com/google/cloud/tools/jib/plugins/common/SkaffoldFilesOutputTest.java b/jib-plugins-common/src/test/java/com/google/cloud/tools/jib/plugins/common/SkaffoldFilesOutputTest.java index d9512927a46..4707c71b65a 100644 --- a/jib-plugins-common/src/test/java/com/google/cloud/tools/jib/plugins/common/SkaffoldFilesOutputTest.java +++ b/jib-plugins-common/src/test/java/com/google/cloud/tools/jib/plugins/common/SkaffoldFilesOutputTest.java @@ -66,9 +66,9 @@ public void testCoverage() throws IOException { skaffoldFilesOutput.addInput(f); skaffoldFilesOutput.addIgnore(f); - Assert.assertEquals(f, skaffoldFilesOutput.getIgnore().get(0)); - Assert.assertEquals(f, skaffoldFilesOutput.getBuild().get(0)); - Assert.assertEquals(f, skaffoldFilesOutput.getInputs().get(0)); + Assert.assertEquals(f.getPath(), skaffoldFilesOutput.getIgnore().get(0)); + Assert.assertEquals(f.getPath(), skaffoldFilesOutput.getBuild().get(0)); + Assert.assertEquals(f.getPath(), skaffoldFilesOutput.getInputs().get(0)); f.delete(); } }