Bukama commented on code in PR #343:
URL: https://github.com/apache/maven-enforcer/pull/343#discussion_r1965419596
##########
enforcer-rules/src/test/java/org/apache/maven/enforcer/rules/files/TestRequireFilesDontExist.java:
##########
@@ -121,11 +124,11 @@ void testFileDoesNotExistSatisfyAny() throws
EnforcerRuleException, IOException
File f = File.createTempFile("junit", null, temporaryFolder);
f.delete();
- assertFalse(f.exists());
+ assumeTrue(f.exists());
Review Comment:
I don't get this one. The file is shall not be there (method name says and
`f.delete`) but you assume it exists?
--
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]