forked from phoedos/pmd
Merge branch '7.0.x' into violation-suppressors
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user