Fix unit test
This commit is contained in:
parent
91f17838d4
commit
47f204cb19
@ -91,7 +91,7 @@ class RuleSetReferenceIdTest {
|
||||
new RuleSetReferenceId("rulesets/java/basic.xml/EmptyCatchBlock"));
|
||||
assertRuleSetReferenceId(false, null, false, "EmptyCatchBlock", "EmptyCatchBlock",
|
||||
new RuleSetReferenceId("EmptyCatchBlock"));
|
||||
assertRuleSetReferenceId(true, "https://raw.githubusercontent.com/pmd/pmd/main/pmd-java/src/main/resources/rulesets/java/quickstart.xml", false, "ConstantsInInterface", "https://raw.githubusercontent.com/pmd/pmd/master/pmd-java/src/main/resources/rulesets/java/quickstart.xml/ConstantsInInterface",
|
||||
assertRuleSetReferenceId(true, "https://raw.githubusercontent.com/pmd/pmd/main/pmd-java/src/main/resources/rulesets/java/quickstart.xml", false, "ConstantsInInterface", "https://raw.githubusercontent.com/pmd/pmd/main/pmd-java/src/main/resources/rulesets/java/quickstart.xml/ConstantsInInterface",
|
||||
new RuleSetReferenceId("https://raw.githubusercontent.com/pmd/pmd/main/pmd-java/src/main/resources/rulesets/java/quickstart.xml/ConstantsInInterface"));
|
||||
assertRuleSetReferenceId(true, "https://example.org/ruleset/MyRule", true, null, "https://example.org/ruleset/MyRule",
|
||||
new RuleSetReferenceId("https://example.org/ruleset/MyRule"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user