[tests] one more FileUtil#delete test case

GitOrigin-RevId: 4f7aa49d97d771dbfed4e6cf06aec6edb946a54c
This commit is contained in:
Roman Shevchenko
2019-06-12 14:24:14 +03:00
committed by intellij-monorepo-bot
parent 8943c839cf
commit 61e4de3081
@@ -257,6 +257,12 @@ public class FileUtilHeavyTest {
}
}
@Test
public void deletingNonExistentFile() throws IOException {
File missing = new File(tempDir.getRoot(), "missing");
FileUtil.delete(missing.toPath());
}
@Test
public void testToCanonicalPathSymLinksAware() throws IOException {
IoTestUtil.assumeSymLinkCreationIsSupported();