Skip to content

Commit 321a8e1

Browse files
committed
Update SwiftRex
1 parent 0023aeb commit 321a8e1

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
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.2
1+
// swift-tools-version:5.3
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
@@ -17,7 +17,7 @@ let package = Package(
1717
],
1818
dependencies: [
1919
.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.8.2"))
20+
.package(name: "SwiftRex", url: "https://github.com/SwiftRex/SwiftRex.git", .upToNextMajor(from: "0.8.4"))
2121
],
2222
targets: [
2323
.target(

Sources/TestingExtensions/UseCaseTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ extension XCTestCase {
254254
var middlewareResponses: [M.OutputActionType] = []
255255
let gotAction = XCTestExpectation(description: "got action")
256256
gotAction.assertForOverFulfill = false
257-
let anyActionHandler = AnyActionHandler<M.OutputActionType>.init { (action, _) in
258-
middlewareResponses.append(action)
257+
let anyActionHandler = AnyActionHandler<M.OutputActionType>.init { dispatchedAction in
258+
middlewareResponses.append(dispatchedAction.action)
259259
gotAction.fulfill()
260260
}
261261
middleware.receiveContext(getState: { state }, output: anyActionHandler)

0 commit comments

Comments
 (0)