Isira-Seneviratne commented on a change in pull request #124:
URL: https://github.com/apache/commons-io/pull/124#discussion_r456127728
##########
File path: src/test/java/org/apache/commons/io/FileUtilsTestCase.java
##########
@@ -1015,6 +1021,12 @@ public void testIsFileNewerOlder() throws Exception {
final Date date = new Date();
Review comment:
> In general, you want to use hard coded dates in tests
The files being tested seem to be created at the moment the test is run, so
how should it be handled?
> Yes, I've actually seen this happen (at work.)
Wow.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]