Skip to content

Commit 0a03f06

Browse files
authored
Use #fileID/#filePath instead of #file (#28)
Motivation: #fileID introduced in Swift 5.3, so no longer need to use #file anywhere Modifications: Changed #file to #filePath or #fileID depending on the situation
1 parent 521f041 commit 0a03f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/StructuredFieldValuesTests/Fixtures.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import Foundation
1515

1616
enum FixturesLoader {
1717
private static var fixturesDirectory: URL {
18-
let myURL = URL(fileURLWithPath: #file, isDirectory: false)
18+
let myURL = URL(fileURLWithPath: #filePath, isDirectory: false)
1919
return URL(string: "../TestFixtures/", relativeTo: myURL)!.absoluteURL
2020
}
2121

0 commit comments

Comments
 (0)