Copilot commented on code in PR #3643:
URL: https://github.com/apache/maven-surefire/pull/3643#discussion_r4796708120
##########
maven-surefire-common/src/test/java/org/apache/maven/plugin/surefire/runorder/RunEntryStatisticsMapTest.java:
##########
@@ -166,6 +166,27 @@ public void testDeserializeClass() throws Exception {
assertThat(statistics.getSuccessfulBuilds()).isEqualTo(1);
}
+ @Test
+ @SuppressWarnings("checkstyle:magicnumber")
+ public void testSerializeClassFollowedByMethod() throws Exception {
Review Comment:
This class already declares `testSerializeClassFollowedByMethod()` at line
136. Adding another method with the same signature prevents test compilation.
Give this test a distinct name, or merge its runtime assertion into the
existing test.
--
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]