mirror of https://github.com/apache/maven.git
Fix expectations on IT MNG-7836 following the modifications on the consumer pom (#308)
This commit is contained in:
parent
7046a8c406
commit
d640bdec48
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue