Skip to content

Commit 23f25c3

Browse files
committed
Test more at the edges
1 parent 709e8cd commit 23f25c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/org/apache/commons/io/file/attribute/FileTimesTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ public static Stream<Arguments> fileTimeNanoUnitsToNtfsProvider() {
4444
Arguments.of("1601-01-01T00:00:00.0000001Z", 1),
4545
Arguments.of("1600-12-31T23:59:59.9999999Z", -1),
4646
Arguments.of("+30828-09-14T02:48:05.477580700Z", Long.MAX_VALUE),
47+
Arguments.of("+30828-09-14T02:48:05.477580600Z", Long.MAX_VALUE - 1),
4748
Arguments.of("-27627-04-19T21:11:54.522419200Z", Long.MIN_VALUE),
49+
Arguments.of("-27627-04-19T21:11:54.522419300Z", Long.MIN_VALUE + 1),
4850
Arguments.of("1601-01-01T00:00:00.0010000Z", FileTimes.HUNDRED_NANOS_PER_MILLISECOND),
4951
Arguments.of("1601-01-01T00:00:00.0010001Z", FileTimes.HUNDRED_NANOS_PER_MILLISECOND + 1),
5052
Arguments.of("1601-01-01T00:00:00.0009999Z", FileTimes.HUNDRED_NANOS_PER_MILLISECOND - 1),

0 commit comments

Comments
 (0)