From df9130e0422c23b3c1e93b04c44537067c6a1233 Mon Sep 17 00:00:00 2001 From: carolinacass <67160898+carolinacass@users.noreply.github.com> Date: Thu, 3 Nov 2022 11:50:05 +0000 Subject: [PATCH] Use #fileID/#filePath instead of #file Motivation: Modifications: Changed #file to #filePath or #fileID depending on the situation --- Tests/StructuredFieldValuesTests/Fixtures.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/StructuredFieldValuesTests/Fixtures.swift b/Tests/StructuredFieldValuesTests/Fixtures.swift index aed1ff8..864c308 100644 --- a/Tests/StructuredFieldValuesTests/Fixtures.swift +++ b/Tests/StructuredFieldValuesTests/Fixtures.swift @@ -15,7 +15,7 @@ import Foundation enum FixturesLoader { private static var fixturesDirectory: URL { - let myURL = URL(fileURLWithPath: #file, isDirectory: false) + let myURL = URL(fileURLWithPath: #filePath, isDirectory: false) return URL(string: "../TestFixtures/", relativeTo: myURL)!.absoluteURL }