desruisseaux commented on code in PR #985:
URL:
https://github.com/apache/maven-compiler-plugin/pull/985#discussion_r2460120130
##########
src/it/includes-excludes/src/test/java/org/apache/maven/it0055/PersonTwoTest.java:
##########
@@ -18,14 +18,10 @@
*/
package org.apache.maven.it0055;
-import junit.framework.TestCase;
-
-public class PersonTwoTest extends TestCase {
+public class PersonTwoTest {
public void testPerson() {
Person person = new Person();
person.setName("foo");
-
- assertEquals("foo", person.getName());
}
Review Comment:
Same as above: add `import static
org.junit.jupiter.api.Assertions.assertEquals` and keep those lines as a way to
ensure that JUnit was on the classpath.
--
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]