Skip to content

Commit

Permalink
Class not found errors give conformance penalty
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcmiller committed Aug 24, 2021
1 parent ff66f13 commit 2088329
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/chalkbox/java/conformance/Conformance.java
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ public Collection run(Collection submission) throws IOException {
if (expectedClass == null || actualClass == null) {
result.set("output", result.get("output") + className
+ " was not found (unable to load class)\n\n");
totalDifferences += 1; // 1-difference penalty for class not found
continue;
}

Expand Down

0 comments on commit 2088329

Please sign in to comment.