slawekjaranowski commented on code in PR #343:
URL: https://github.com/apache/maven-enforcer/pull/343#discussion_r1938264952
##########
enforcer-rules/src/test/java/org/apache/maven/enforcer/rules/files/TestRequireFilesSize.java:
##########
@@ -116,7 +122,7 @@ void testEmptyFileList() throws EnforcerRuleException,
IOException {
void testFileDoesNotExist() throws IOException {
File f = File.createTempFile("junit", null, temporaryFolder);
f.delete();
- assertFalse(f.exists());
+ assumeFalse(f.exists());
Review Comment:
It will change test logic ... at all
When file will be not deleted .. test will be marked as skipped not failed
Is it intentional?
--
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]