Split this test so I can figure out CI failure

This commit is contained in:
Max Howell
2019-07-21 18:16:37 -04:00
parent e5188bf93b
commit af091cc1f0
2 changed files with 3 additions and 0 deletions

View File

@@ -204,7 +204,9 @@ class PathTests: XCTestCase {
XCTAssertThrowsError(try root.foo.copy(to: root.bar))
try root.foo.copy(to: root.bar, overwrite: true)
}
}
func testCopyToExistingDirectoryFails() throws {
// test copy errors if directory exists at destination, even with overwrite
try Path.mktemp { root in
try root.foo.touch()