inverting condition to match the article
This commit is contained in:
parent
b5d8f4e93c
commit
b389ecad46
|
@ -41,7 +41,7 @@ public class InMemoryCompilationUnitTest {
|
||||||
|
|
||||||
boolean result = task.call();
|
boolean result = task.call();
|
||||||
|
|
||||||
if (result) {
|
if (!result) {
|
||||||
diagnostics.getDiagnostics()
|
diagnostics.getDiagnostics()
|
||||||
.forEach(d -> LOGGER.error(String.valueOf(d)));
|
.forEach(d -> LOGGER.error(String.valueOf(d)));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue