Skip to content

Commit baaf536

Browse files
authored
Fix deprecation warning (#348)
Xcode was offering to update my deprecated method call but the signature it chose was incorrect ## Checklist - [x] Unit Tests - [x] UI Tests - [x] Snapshot Tests (iOS only) - [x] I have made corresponding changes to the documentation
1 parent 9572b8a commit baaf536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WorkflowConcurrency/Testing/WorkerTesting.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ extension RenderTester {
3030
/// - producingOutput: The output to be used instead of actually running the worker.
3131
/// If the workflow never tries to run the worker, then this won't be used.
3232
/// - key: Key to expect this `Workflow` to be rendered with.
33-
@available(*, deprecated, renamed: "expectedWorker(_:mockingOutput:key:file:line:)", message: "Renamed")
33+
@available(*, deprecated, renamed: "expectWorker(_:mockingOutput:key:file:line:)", message: "Renamed")
3434
public func expect<ExpectedWorkerType: Worker>(
3535
worker: ExpectedWorkerType,
3636
producingOutput output: ExpectedWorkerType.Output? = nil,

0 commit comments

Comments
 (0)