@@ -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 = #file ,
40+ file: StaticString = #filePath ,
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 = #file ,
61+ file: StaticString = #filePath ,
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 = #file ,
81+ file: StaticString = #filePath ,
8282 line: UInt = #line
8383 ) where M. InputActionType == M . OutputActionType , M. InputActionType: Equatable {
8484 var state = initialValue
@@ -106,7 +106,7 @@ extension XCTestCase {
106106 from: . init( file: " \( file) " , function: " " , line: line, info: nil ) ,
107107 afterReducer: & afterReducer
108108 )
109- state = reducer. reduce ( action, state)
109+ reducer. reduce ( action, & state)
110110 afterReducer. reducerIsDone ( )
111111
112112 stateChange ( & expected)
@@ -128,7 +128,7 @@ extension XCTestCase {
128128 from: . init( file: " \( file) " , function: " " , line: line, info: nil ) ,
129129 afterReducer: & afterReducer
130130 )
131- state = reducer. reduce ( action, state)
131+ reducer. reduce ( action, & state)
132132 afterReducer. reducerIsDone ( )
133133
134134 stateChange ( & expected)
@@ -148,7 +148,7 @@ extension XCTestCase {
148148 equating: ( StateType , StateType ) -> Bool ,
149149 statusQuo: StateType ,
150150 expected: StateType ,
151- file: StaticString = #file ,
151+ file: StaticString = #filePath ,
152152 line: UInt = #line
153153 ) {
154154 XCTAssertTrue (
0 commit comments