inverting condition to match the article
@@ -41,7 +41,7 @@ public class InMemoryCompilationUnitTest {
boolean result = task.call();
- if (result) {
+ if (!result) {
diagnostics.getDiagnostics()
.forEach(d -> LOGGER.error(String.valueOf(d)));
} else {
