Skip to content

Commit 0460ceb

Browse files
committed
Fix test coverage
1 parent 9847bfa commit 0460ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public void execute(Task task) {
121121
actualLines = Files.readAllLines(noticePath.get());
122122
for (final String expectedLine : expectedLines) {
123123
if (actualLines.contains(expectedLine) == false) {
124-
throw new GradleException("expected [" + noticePath + " to contain [" + expectedLine + "] but it did not");
124+
throw new GradleException("expected [" + noticePath.get() + " to contain [" + expectedLine + "] but it did not");
125125
}
126126
}
127127
} catch (IOException ioException) {

0 commit comments

Comments
 (0)