michael-o commented on code in PR #140:
URL: https://github.com/apache/maven-scm/pull/140#discussion_r878926485


##########
maven-scm-test/src/main/java/org/apache/maven/scm/tck/command/changelog/ChangeLogCommandTckTest.java:
##########
@@ -94,7 +94,6 @@ public void testChangeLogCommand()
         ChangeSet changeset = thirdResult.getChangeLog().getChangeSets().get( 
0 );
         assertTrue( changeset.getDate().after( timeBeforeSecond ) );
 
-
-        assertEquals( COMMIT_MSG, changeset.getComment() );
+        assertTrue( changeset.getComment().startsWith( COMMIT_MSG ) ); // 
Sometimes there is a newline appended

Review Comment:
   Which? I would rather strip trailing LS and then go through `assertEquals()`



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to