gnodet commented on code in PR #1205:
URL: https://github.com/apache/maven/pull/1205#discussion_r1325491165


##########
maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java:
##########
@@ -234,7 +234,7 @@ void testReadInvalidPom() throws Exception {
 
         // single project build entry point
         Exception ex = assertThrows(Exception.class, () -> 
projectBuilder.build(pomFile, configuration));
-        assertThat(ex.getMessage(), containsString("Received 
non-all-whitespace CHARACTERS or CDATA event"));
+        assertThat(ex.getMessage(), containsString("expected START_TAG or 
END_TAG not CHARACTERS"));

Review Comment:
   This is a test, so I can't change the message here.  I'd be happy to raise a 
follow-up as this message is sent by the generated xml parsers.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to