This commit is contained in:
KevDi
2019-11-30 13:21:23 +01:00
parent 936441df93
commit 7f3271f1d0

View File

@@ -570,7 +570,12 @@ void FileTest::testRenameFailIfExists() {
} catch (Exception&) { } catch (Exception&) {
} }
f1.remove(); f1.renameTo(f2.path());
assertTrue(f2.exists());
assertTrue(f1.exists());
assertTrue(f1 == f2);
f2.remove(); f2.remove();
} }