Skip to content

Commit e1e975b

Browse files
committed
Make master in sync with latest SwiftRex release
1 parent 2b9a757 commit e1e975b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ let package = Package(
1616
.library(name: "TestingExtensionsDynamic", type: .dynamic, targets: ["TestingExtensions"])
1717
],
1818
dependencies: [
19-
.package(name: "SnapshotTesting", url: "https://github.com/thedavidharris/swift-snapshot-testing.git", .upToNextMajor(from: "1.8.2")),
20-
.package(name: "SwiftRex", url: "https://github.com/SwiftRex/SwiftRex.git", .branch("develop"))
19+
.package(name: "SnapshotTesting", url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .upToNextMajor(from: "1.8.2")),
20+
.package(name: "SwiftRex", url: "https://github.com/SwiftRex/SwiftRex.git", .upToNextMajor(from: "0.7.5"))
2121
],
2222
targets: [
2323
.target(name: "TestingExtensions", dependencies: ["SnapshotTesting", .product(name: "CombineRexDynamic", package: "SwiftRex")])

Sources/TestingExtensions/UseCaseTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ extension XCTestCase {
106106
from: .init(file: "\(file)", function: "", line: line, info: nil),
107107
afterReducer: &afterReducer
108108
)
109-
reducer.reduce(action, &state)
109+
state = 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-
reducer.reduce(action, &state)
131+
state = reducer.reduce(action, state)
132132
afterReducer.reducerIsDone()
133133

134134
stateChange(&expected)

0 commit comments

Comments
 (0)