Merge branch 'remove-old-stuff' into 7.0.x
This commit is contained in:
@ -30,7 +30,7 @@ public class ReportTest extends RuleTst {
|
||||
String code = "function(x) // NOPMD test suppress\n" + "{ x = 1; }";
|
||||
runTestFromString(code, rule, rpt,
|
||||
LanguageRegistry.getLanguage(EcmascriptLanguageModule.NAME).getDefaultVersion());
|
||||
assertTrue(rpt.isEmpty());
|
||||
assertEquals(1, rpt.getSuppressedRuleViolations().size());
|
||||
assertTrue(rpt.getViolations().isEmpty());
|
||||
assertEquals(1, rpt.getSuppressedViolations().size());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user