Skip to content

Commit 8370242

Browse files
committed
Update typographical errors in tutorial readme files
1 parent 8c90257 commit 8370242

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

samples/tutorial/Tutorial1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ You could also write:
373373
}
374374
```
375375
376-
And let's make an `onLogInTapped` event handler that enques one of those `updateName` actions.
376+
And let's make an `onLogInTapped` event handler that enqueues one of those `updateName` actions.
377377

378378
```kotlin
379379
object WelcomeWorkflow : StatefulWorkflow<Unit, State, Output, WelcomeScreen>() {

samples/tutorial/Tutorial5.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ class TodoNavigationWorkflowTest {
464464
The `RenderTester` allows easy "mocking" of child workflows and workers.
465465
However, this means that we are not exercising the full infrastructure
466466
(even though we could get a fairly high confidence from the tests).
467-
ometimes, it may be worth putting together integration tests that test a full tree of Workflows.
467+
Sometimes, it may be worth putting together integration tests that test a full tree of Workflows.
468468
This lets us test integration with the non-workflow world as well,
469469
such as external reactive data sources that your workflows might be observing via Workers.
470470

@@ -482,12 +482,12 @@ the same runtime that `renderWorkflowIn` uses.
482482
When you create an Android app using Workflow,
483483
you will probably use `renderWorkflowIn`,
484484
which starts a runtime to host your workflows in an androidx ViewModel.
485-
Under the hood,this method is an overload of lower-level `renderWorkflowIn` function
485+
Under the hood, this method is an overload of lower-level `renderWorkflowIn` function
486486
that runs the workflow runtime in a coroutine and exposes a `StateFlow` of renderings.
487487
When writing integration tests for workflows,
488488
you can use this core function directly (maybe with a library like [Turbine](https://github.com/cashapp/turbine)),
489489
or you can use `workflow-testing`'s `WorkflowTester`.
490-
The `WorkflowTester` starts a workflow and lets you request renderingsand outputs manually
490+
The `WorkflowTester` starts a workflow and lets you request renderings and outputs manually
491491
so you can write tests that interact with the runtime from the outside.
492492

493493
This will be a properly opaque test,

0 commit comments

Comments
 (0)