Replace #file with #filePath

This commit is contained in:
1024jp 2020-08-17 18:10:26 +09:00
parent 0cb7b4baeb
commit 1a9e16f792

View File

@ -98,7 +98,7 @@ private extension XCTestCase {
/// Path to the test directory in package.
var testDirectory: URL {
return URL(fileURLWithPath: #file)
return URL(fileURLWithPath: #filePath)
.deletingLastPathComponent()
.deletingLastPathComponent()
}