We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd288a commit f6d2926Copy full SHA for f6d2926
Sources/ComposableArchitecture/TestSupport/TestStore.swift
@@ -161,7 +161,16 @@
161
file: StaticString = #file,
162
line: UInt = #line
163
) {
164
- var receivedActions: [Action] = []
+ assert(steps, file: file, line: line)
165
+ }
166
+
167
+ /// Asserts against an array of actions.
168
+ public func assert(
169
+ _ steps: [Step],
170
+ file: StaticString = #file,
171
+ line: UInt = #line
172
+ ) {
173
+ var receivedActions: [Action] = []
174
175
var cancellables: [AnyCancellable] = []
176
0 commit comments