Skip to content

Commit a9dd2af

Browse files
committed
Spotless
1 parent ea2a494 commit a9dd2af

File tree

1 file changed

+11
-10
lines changed
  • plugins/codemodder-plugin-maven/src/test/java/io/codemodder/plugins/maven/operator

1 file changed

+11
-10
lines changed

plugins/codemodder-plugin-maven/src/test/java/io/codemodder/plugins/maven/operator/POMOperatorTest.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -581,17 +581,18 @@ void modify_adds_dependency_to_file_with_tabs()
581581
"\n\t\t<dependency>\n\t\t\t<groupId>org.dom4j</groupId>\n\t\t\t<artifactId>dom4j</artifactId>\n\t\t</dependency>\n");
582582
}
583583

584-
@Test
585-
void modify_adds_dependency_to_pom_with_empty_elements_with_multiple_attributes() throws Exception {
586-
Dependency dependencyToUpgrade =
587-
new Dependency("io.github.pixee", "java-security-toolkit", "1.0.2", null, null, null);
584+
@Test
585+
void modify_adds_dependency_to_pom_with_empty_elements_with_multiple_attributes()
586+
throws Exception {
587+
Dependency dependencyToUpgrade =
588+
new Dependency("io.github.pixee", "java-security-toolkit", "1.0.2", null, null, null);
588589

589-
performAndAssertModifyPomOperation(
590-
"trimmed-roller",
591-
ProjectModelFactory.load(POMOperatorTest.class.getResource("pom-trimmed-roller.xml"))
592-
.withDependency(dependencyToUpgrade)
593-
.withUseProperties(true));
594-
}
590+
performAndAssertModifyPomOperation(
591+
"trimmed-roller",
592+
ProjectModelFactory.load(POMOperatorTest.class.getResource("pom-trimmed-roller.xml"))
593+
.withDependency(dependencyToUpgrade)
594+
.withUseProperties(true));
595+
}
595596

596597
/**
597598
* Tests a scenario with an empty element from a customer's POM file and validates the resultant

0 commit comments

Comments
 (0)