Skip to content

Commit

Permalink
better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 15, 2024
1 parent 764b90c commit 3ab14aa
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,10 @@ Set<String> actual = Files.walk(binaries)
.collect(Collectors.toSet())

if (!actual.containsAll(expected)) {
fail("Not all classes are compiled\nExpected ${expected}\nActual ${actual}")
for (String must : expected) {
if (!actual.contains(must)) {
log.error("Missing: ${must}")
}
}
fail("Not all .java files were compiled to .class files")
}

0 comments on commit 3ab14aa

Please sign in to comment.