Skip to content

Commit

Permalink
Fix expectations on IT MNG-7836 following the modifications on the co…
Browse files Browse the repository at this point in the history
…nsumer pom (apache#308)
  • Loading branch information
gnodet authored Sep 27, 2023
1 parent 7046a8c commit d640bde
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ void testAlternativeSyntax() throws Exception {

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));
Expand Down

0 comments on commit d640bde

Please sign in to comment.