aboutsummaryrefslogtreecommitdiff
path: root/test/core/src/lombok/DirectoryRunner.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/src/lombok/DirectoryRunner.java')
-rw-r--r--test/core/src/lombok/DirectoryRunner.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/core/src/lombok/DirectoryRunner.java b/test/core/src/lombok/DirectoryRunner.java
index 89fe6ab0..f84198f8 100644
--- a/test/core/src/lombok/DirectoryRunner.java
+++ b/test/core/src/lombok/DirectoryRunner.java
@@ -118,15 +118,13 @@ public class DirectoryRunner extends Runner {
}
switch (params.getCompiler()) {
case DELOMBOK:
- new RunTestsViaDelombok().compareFile(params, file);
- break;
+ return new RunTestsViaDelombok().compareFile(params, file);
case ECJ:
- new RunTestsViaEcj().compareFile(params, file);
- break;
+ return new RunTestsViaEcj().compareFile(params, file);
+ default:
case JAVAC:
throw new UnsupportedOperationException();
}
- return true;
}
private boolean mustIgnore(File file) throws FileNotFoundException, IOException {