mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
Changes
This commit is contained in:
@@ -570,7 +570,12 @@ void FileTest::testRenameFailIfExists() {
|
||||
} catch (Exception&) {
|
||||
}
|
||||
|
||||
f1.remove();
|
||||
f1.renameTo(f2.path());
|
||||
|
||||
assertTrue(f2.exists());
|
||||
assertTrue(f1.exists());
|
||||
assertTrue(f1 == f2);
|
||||
|
||||
f2.remove();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user