@@ -9,7 +9,7 @@ This guide is written step-by-step; the idea is to separate the migration into s
99We couldn't find any code that defined new implementations of these interfaces, so they are deprecated. It's likely that
1010you don't need to do anything for this section.
1111
12- ### ` UncaughtExceptionCaptor `
12+ ### UncaughtExceptionCaptor
1313
1414If the code base has an ` UncaughtExceptionCaptor ` , its special behavior as opposed to just ` CoroutineExceptionHandler `
1515was that, at the end of ` runBlockingTest ` or ` cleanupTestCoroutines ` (or both), its ` cleanupTestCoroutines ` procedure
@@ -35,7 +35,7 @@ fun testFoo() = runTest {
3535}
3636```
3737
38- ### ` DelayController `
38+ ### DelayController
3939
4040We don't provide a way to define custom dispatching strategies that support virtual time.
4141That said, we significantly enhanced this mechanism:
@@ -48,7 +48,7 @@ That said, we significantly enhanced this mechanism:
4848If you have a use case for ` DelayController ` that's not covered by what we provide, please tell us about it in the issue
4949tracker.
5050
51- ### ` TestCoroutineScope `
51+ ### TestCoroutineScope
5252
5353This scope couldn't be meaningfully used in tandem with ` runBlockingTest ` : according to the definition of
5454` TestCoroutineScope.runBlockingTest ` , only the scope's ` coroutineContext ` is used.
@@ -142,7 +142,7 @@ Significant differences of `runTest` from `runBlockingTest` are each given a sec
142142
143143No action on your part is required, other than replacing ` runBlocking ` with ` runTest ` as well.
144144
145- ### It uses ` StandardTestDispatcher ` by default, not ` TestCoroutineDispatcher ` .
145+ ### It uses StandardTestDispatcher by default, not TestCoroutineDispatcher.
146146
147147By now, calls to ` pauseDispatcher ` and ` resumeDispatcher ` should be purged from the code base, so only the unpaused
148148variant of ` TestCoroutineDispatcher ` should be used.
@@ -304,7 +304,7 @@ fun testFoo() = runTest {
304304}
305305```
306306
307- ### Only a single call to ` runTest ` is permitted per test.
307+ ### Only a single call to runTest is permitted per test.
308308
309309In order to work on JS, only a single call to ` runTest ` must happen during one test, and its result must be returned
310310immediately:
@@ -323,7 +323,7 @@ When used only on the JVM, `runTest` will work when called repeatedly, but this
323323Please only call ` runTest ` once per test, and if for some reason you can't, please tell us about in on the issue
324324tracker.
325325
326- ### It uses ` TestScope ` , not ` TestCoroutineScope ` , by default.
326+ ### It uses TestScope, not TestCoroutineScope, by default.
327327
328328There is a ` runTestWithLegacyScope ` method that allows migrating from ` runBlockingTest ` to ` runTest ` before migrating
329329from ` TestCoroutineScope ` to ` TestScope ` , if exactly the ` TestCoroutineScope ` needs to be passed somewhere else and
0 commit comments