Merge branch '7.0.x' into violation-suppressors

This commit is contained in:
Clément Fournier
2019-12-09 01:03:34 +01:00
230 changed files with 4129 additions and 19674 deletions

View File

@@ -214,8 +214,9 @@ public abstract class RuleTst {
List<Integer> expected = test.getExpectedLineNumbers();
if (report.size() != expected.size()) {
throw new RuntimeException("Test setup error: number of execpted line numbers doesn't match "
+ "number of violations for test case '" + test.getDescription() + "'");
throw new RuntimeException("Test setup error: number of expected line numbers " + expected.size()
+ " doesn't match number of violations " + report.size() + " for test case '"
+ test.getDescription() + "'");
}
Iterator<RuleViolation> it = report.iterator();