Skip to content

Commit

Permalink
Wrong variable used in diff
Browse files Browse the repository at this point in the history
  • Loading branch information
tombrunet committed Oct 28, 2024
1 parent 4297d71 commit 16ca446
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ private static DiffResult[] diff(ACReport actual, ACReport expected) {
retVal.add(new DiffResult("A", idx, null, gson.toJson(expectedRs[idx])));
}
for (int idx=expectedRs.length; idx < actualRs.length; ++idx) {
retVal.add(new DiffResult("A", idx, gson.toJson(expectedRs[idx]), null));
retVal.add(new DiffResult("A", idx, gson.toJson(actualRs[idx]), null));
}
for (int idx=0; idx<Math.min(actualRs.length, expectedRs.length); ++idx) {
Result actualR = actualRs[idx];
Expand Down

0 comments on commit 16ca446

Please sign in to comment.