Fix tests
This commit is contained in:
1 file changed
+2
-2
@@ -217,7 +217,7 @@ public final class RuleSetLoader {
|
||||
}
|
||||
}
|
||||
if (!anyRules) {
|
||||
reporter.warn("No rules found. Maybe you misspelled a rule name? ({0})",
|
||||
reporter.warn("No rules found. Maybe you misspelled a rule name? ({})",
|
||||
StringUtils.join(rulesetPaths, ','));
|
||||
}
|
||||
return ruleSets;
|
||||
@@ -231,7 +231,7 @@ public final class RuleSetLoader {
|
||||
}
|
||||
}
|
||||
if (ruleset.getRules().isEmpty()) {
|
||||
reporter.warn("No rules found in ruleset {0}", path);
|
||||
reporter.warn("No rules found in ruleset {}", path);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user