Remove mkpath, add mkdir(.p)

This commit is contained in:
Max Howell
2019-01-26 11:01:28 -05:00
parent 8744b68709
commit 6d8712f4d6
2 changed files with 59 additions and 45 deletions

View File

@@ -83,7 +83,7 @@ class PathTests: XCTestCase {
try Path.mktemp {
for _ in 0...1 {
try $0.join("a").mkdir()
try $0.join("b/c").mkpath()
try $0.join("b/c").mkdir(.p)
}
}
}