diff --git a/itest/src/edu/stanford/nlp/dcoref/DcorefBenchmarkSlowITest.java b/itest/src/edu/stanford/nlp/dcoref/DcorefBenchmarkSlowITest.java index 3bf361dfeb..3adb625e98 100644 --- a/itest/src/edu/stanford/nlp/dcoref/DcorefBenchmarkSlowITest.java +++ b/itest/src/edu/stanford/nlp/dcoref/DcorefBenchmarkSlowITest.java @@ -134,7 +134,7 @@ public static Counter getCorefResults(String resultsString) throws IOExc if (results.keySet().isEmpty()) { List lines = StringUtils.split(resultsString, "\\R"); int start = Math.max(0, lines.size() - 20); - lines = lines.subList(start, lines.size() - start); + lines = lines.subList(start, lines.size()); String tail = StringUtils.join(lines, "\n"); throw new RuntimeException("Coref output did not have any results in it! The end of the log is as follows:\n" + tail); }