File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
its/core-it-suite/src/test/java/org/apache/maven/it Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -54,17 +54,14 @@ void testInterpolationFromEnvAndProps() throws Exception {
54
54
List <String > lines = verifier .loadLogLines ();
55
55
// Expect resolved file:// URLs, not placeholders
56
56
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" );
60
58
assertTrue (lines .stream ().anyMatch (s -> s .contains ("<id>propRepo</id>" )), "propRepo present" );
61
59
assertTrue (
62
60
lines .stream ().anyMatch (s -> s .contains ("<url>" + baseUri + "/custom</url>" )),
63
61
"propRepo url resolved via property" );
64
62
assertTrue (lines .stream ().anyMatch (s -> s .contains ("<id>distRepo</id>" )), "distRepo present" );
65
63
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" );
68
65
}
69
66
70
67
private static String getBaseUri (Path base ) {
You can’t perform that action at this time.
0 commit comments