elharo commented on code in PR #61: URL: https://github.com/apache/maven-clean-plugin/pull/61#discussion_r1842172087
########## src/test/java/org/apache/maven/plugins/clean/CleanMojoTest.java: ########## @@ -175,7 +174,7 @@ public void testCleanLockedFile(CleanMojo mojo) throws Exception { mojo.execute(); fail("Should fail to delete a file that is locked"); } catch (MojoException expected) { - assertTrue(true); + assertNotNull(expected.getMessage()); Review Comment: Anyway, converted to assertThrows -- 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