Skip to content

Commit cd0218a

Browse files
committed
swift-custom-dump: downgrade to v1.2.1
1 parent cf28ea2 commit cd0218a

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

Diff for: Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ let package = Package(
6464
.package(url: "https://github.com/pointfreeco/swift-identified-collections", from: "1.0.0"),
6565
.package(url: "https://github.com/pointfreeco/swift-macro-testing", from: "0.4.0"),
6666
.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"),
6868
],
6969
targets: [
7070
// MARK: Workflow

Diff for: WorkflowTesting/Sources/RenderTesterResult.swift

+5-9
Original file line numberDiff line numberDiff line change
@@ -131,21 +131,17 @@ extension RenderTesterResult where WorkflowType.State: Equatable {
131131
@discardableResult
132132
public func assertStateModifications(
133133
_ 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
138136
) rethrows -> RenderTesterResult<WorkflowType> {
139137
var initialState = initialState
140138
try modifications(&initialState)
141-
expectNoDifference(
139+
XCTAssertNoDifference(
142140
initialState,
143141
state,
144142
"Expected state does not match",
145-
fileID: fileID,
146-
filePath: filePath,
147-
line: line,
148-
column: column
143+
file: file,
144+
line: line
149145
)
150146
return self
151147
}

0 commit comments

Comments
 (0)