Skip to content

Commit 8ffdecd

Browse files
committed
Apply spotless formatting to integration tests
- Fix code formatting in MavenITgh11140RepoInterpolationTest.java - Consolidate multi-line method calls for better consistency - No functional changes, only formatting improvements
1 parent 3921d5f commit 8ffdecd

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

its/core-it-suite/src/test/java/org/apache/maven/it/MavenITgh11140RepoInterpolationTest.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,14 @@ void testInterpolationFromEnvAndProps() throws Exception {
5454
List<String> lines = verifier.loadLogLines();
5555
// Expect resolved file:// URLs, not placeholders
5656
assertTrue(lines.stream().anyMatch(s -> s.contains("<id>envRepo</id>")), "envRepo present");
57-
assertTrue(
58-
lines.stream().anyMatch(s -> s.contains("<url>" + baseUri + "/repo</url>")),
59-
"envRepo url resolved");
57+
assertTrue(lines.stream().anyMatch(s -> s.contains("<url>" + baseUri + "/repo</url>")), "envRepo url resolved");
6058
assertTrue(lines.stream().anyMatch(s -> s.contains("<id>propRepo</id>")), "propRepo present");
6159
assertTrue(
6260
lines.stream().anyMatch(s -> s.contains("<url>" + baseUri + "/custom</url>")),
6361
"propRepo url resolved via property");
6462
assertTrue(lines.stream().anyMatch(s -> s.contains("<id>distRepo</id>")), "distRepo present");
6563
assertTrue(
66-
lines.stream().anyMatch(s -> s.contains("<url>" + baseUri + "/dist</url>")),
67-
"distRepo url resolved");
64+
lines.stream().anyMatch(s -> s.contains("<url>" + baseUri + "/dist</url>")), "distRepo url resolved");
6865
}
6966

7067
private static String getBaseUri(Path base) {

0 commit comments

Comments
 (0)