Fix tests

This commit is contained in:
Clément Fournier committed 2022-03-05 17:36:34 +01:00
1 parent c66ece42d0
commit 9fc7828754
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);
}
}