Skip to content

Commit 7d6c652

Browse files
committed
Fix Xcode 11 build
1 parent e1e975b commit 7d6c652

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/TestingExtensions/UseCaseTests.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ extension XCTestCase {
3737
middleware: M,
3838
steps: Step<M.InputActionType, M.StateType>...,
3939
otherSteps: [Step<M.InputActionType, M.StateType>] = [],
40-
file: StaticString = #filePath,
40+
file: StaticString = #file,
4141
line: UInt = #line
4242
) where M.InputActionType == M.OutputActionType, M.InputActionType: Equatable, M.StateType: Equatable {
4343
assert(
@@ -58,7 +58,7 @@ extension XCTestCase {
5858
steps: Step<M.InputActionType, M.StateType>...,
5959
otherSteps: [Step<M.InputActionType, M.StateType>] = [],
6060
stateEquating: (M.StateType, M.StateType) -> Bool,
61-
file: StaticString = #filePath,
61+
file: StaticString = #file,
6262
line: UInt = #line
6363
) where M.InputActionType == M.OutputActionType, M.InputActionType: Equatable {
6464
assert(
@@ -78,7 +78,7 @@ extension XCTestCase {
7878
middleware: M,
7979
steps: [Step<M.InputActionType, M.StateType>],
8080
stateEquating: (M.StateType, M.StateType) -> Bool,
81-
file: StaticString = #filePath,
81+
file: StaticString = #file,
8282
line: UInt = #line
8383
) where M.InputActionType == M.OutputActionType, M.InputActionType: Equatable {
8484
var state = initialValue
@@ -148,7 +148,7 @@ extension XCTestCase {
148148
equating: (StateType, StateType) -> Bool,
149149
statusQuo: StateType,
150150
expected: StateType,
151-
file: StaticString = #filePath,
151+
file: StaticString = #file,
152152
line: UInt = #line
153153
) {
154154
XCTAssertTrue(

0 commit comments

Comments
 (0)