This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git
The following commit(s) were added to refs/heads/master by this push:
new c6f314c7c Fix expectations on IT MNG-7836 following the modifications
on the consumer pom (#308)
c6f314c7c is described below
commit c6f314c7c51a1d84625b8541bcaee5aa43fbf30f
Author: Guillaume Nodet <[email protected]>
AuthorDate: Wed Sep 27 09:08:37 2023 +0200
Fix expectations on IT MNG-7836 following the modifications on the consumer
pom (#308)
---
.../org/apache/maven/it/MavenITmng7836AlternativePomSyntaxTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7836AlternativePomSyntaxTest.java
b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7836AlternativePomSyntaxTest.java
index f505ffc14..67d9f4902 100644
---
a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7836AlternativePomSyntaxTest.java
+++
b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7836AlternativePomSyntaxTest.java
@@ -64,8 +64,8 @@ class MavenITmng7836AlternativePomSyntaxTest extends
AbstractMavenIntegrationTes
assertTrue(Files.isRegularFile(consumerPom));
List<String> consumerPomLines = Files.readAllLines(consumerPom,
StandardCharsets.UTF_8);
- assertFalse(consumerPomLines.stream().anyMatch(l ->
l.contains("<name>Apache-2.0</name>")));
- assertTrue(consumerPomLines.stream().anyMatch(l ->
l.contains("<parent>")));
+ assertTrue(consumerPomLines.stream().anyMatch(l ->
l.contains("<name>Apache-2.0</name>")));
+ assertFalse(consumerPomLines.stream().anyMatch(l ->
l.contains("<parent>")));
// The build pom is the original POM, so the hocon file
assertTrue(Files.isRegularFile(buildPom));