File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ let package = Package(
64
64
. package ( url: " https://github.com/pointfreeco/swift-identified-collections " , from: " 1.0.0 " ) ,
65
65
. package ( url: " https://github.com/pointfreeco/swift-macro-testing " , from: " 0.4.0 " ) ,
66
66
. package ( url: " https://github.com/pointfreeco/swift-perception " , from: " 1.1.4 " ) ,
67
- . package ( url: " https://github.com/pointfreeco/swift-custom-dump " , from: " 1.3.3 " ) ,
67
+ . package ( url: " https://github.com/pointfreeco/swift-custom-dump " , from: " 1.2.1 " ) ,
68
68
] ,
69
69
targets: [
70
70
// MARK: Workflow
Original file line number Diff line number Diff line change @@ -131,21 +131,17 @@ extension RenderTesterResult where WorkflowType.State: Equatable {
131
131
@discardableResult
132
132
public func assertStateModifications(
133
133
_ modifications: ( inout WorkflowType . State ) throws -> Void ,
134
- fileID: StaticString = #fileID,
135
- filePath: StaticString = #filePath,
136
- line: UInt = #line,
137
- column: UInt = #column
134
+ file: StaticString = #file,
135
+ line: UInt = #line
138
136
) rethrows -> RenderTesterResult < WorkflowType > {
139
137
var initialState = initialState
140
138
try modifications ( & initialState)
141
- expectNoDifference (
139
+ XCTAssertNoDifference (
142
140
initialState,
143
141
state,
144
142
" Expected state does not match " ,
145
- fileID: fileID,
146
- filePath: filePath,
147
- line: line,
148
- column: column
143
+ file: file,
144
+ line: line
149
145
)
150
146
return self
151
147
}
You can’t perform that action at this time.
0 commit comments