Skip to content

Commit

Permalink
Merge pull request #35 from afollestad/patch-1
Browse files Browse the repository at this point in the history
Fix two typos in Tutorial5.md
  • Loading branch information
bencochran committed Jul 3, 2020
2 parents 0b0fc6a + f363613 commit 13575c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Samples/Tutorial/Tutorial5.md
Expand Up @@ -27,7 +27,7 @@ The `WorkflowActionTester` is provided to facilitate writing unit tests against

The `WorkflowActionTester` is an extension on `WorkflowAction` which provides an easy to use harness for testing a series of actions and the resulting state updates. From the example in the source:
```swift
/// TestedWorklfow.Action
/// TestedWorkflow.Action
/// .tester(withState: .firstState)
/// .send(action: .exampleEvent)
/// .assert(output: .finished)
Expand Down Expand Up @@ -74,7 +74,7 @@ class WelcomeWorkflowTests: XCTestCase {
.send(action: .nameChanged(name: "myName"))
// No output is expected when the name changes.
.assertNoOutput()
.veridyState { state in
.verifyState { state in
// The `name` has been updated from the action.
XCTAssertEqual("myName", state.name)
}
Expand Down

0 comments on commit 13575c3

Please sign in to comment.