Skip to content

Commit fd23f6a

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

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

Diff for: Package.resolved

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"kind" : "remoteSourceControl",
4242
"location" : "https://github.com/pointfreeco/swift-custom-dump",
4343
"state" : {
44-
"revision" : "82645ec760917961cfa08c9c0c7104a57a0fa4b1",
45-
"version" : "1.3.3"
44+
"revision" : "3ce83179e5f0c83ad54c305779c6b438e82aaf1d",
45+
"version" : "1.2.1"
4646
}
4747
},
4848
{

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
@@ -130,22 +130,18 @@ extension RenderTesterResult where WorkflowType.State: Equatable {
130130
/// and is expected to mutate it to match the new state.
131131
@discardableResult
132132
public func assertStateModifications(
133-
_ modifications: (inout WorkflowType.State) throws -> Void,
134-
fileID: StaticString = #fileID,
135-
filePath: StaticString = #filePath,
133+
file: StaticString = #file,
136134
line: UInt = #line,
137-
column: UInt = #column
135+
_ modifications: (inout WorkflowType.State) throws -> Void
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)