mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix test failing on XP
This commit is contained in:
@@ -310,7 +310,7 @@ public class FileAttributesReadingTest {
|
||||
assertTrue(target.length() > 0);
|
||||
assertTimestampsEqual(attributes.lastModified - 5000, target.lastModified());
|
||||
|
||||
attributes = getAttributes(link);
|
||||
attributes = getAttributes(link, SystemInfo.areSymLinksSupported); // ignore XP
|
||||
assertEquals(FileAttributes.Type.FILE, attributes.type);
|
||||
assertEquals(target.length(), attributes.length);
|
||||
assertTimestampsEqual(target.lastModified(), attributes.lastModified);
|
||||
|
||||
Reference in New Issue
Block a user