Skip to content

Commit 03664f7

Browse files
committed
Finish writing docs
1 parent 90e250d commit 03664f7

File tree

2 files changed

+151
-277
lines changed

2 files changed

+151
-277
lines changed

kotlinx-coroutines-test/MIGRATION.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ fun testFoo() = runTest {
3232
}
3333
advanceUntilIdle()
3434
customCaptor.cleanupTestCoroutines()
35-
}
35+
}
3636
```
3737

3838
### `DelayController`
@@ -89,7 +89,7 @@ fun testFoo() = runTest {
8989
}
9090
advanceUntilIdle()
9191
// check the list of the caught exceptions
92-
}
92+
}
9393
```
9494

9595
## Auto-replace `TestCoroutineScope` constructor function with `createTestCoroutineScope`
@@ -178,7 +178,7 @@ fun testFoo() = runTest {
178178
deferred.getCompletionExceptionOrNull()?.let {
179179
throw it
180180
}
181-
}
181+
}
182182
```
183183

184184
### Only a single call to `runTest` is permitted per test.

0 commit comments

Comments
 (0)