We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f414cd4 + b2c1c11 commit 5f5bd91Copy full SHA for 5f5bd91
core/testing/src/main/kotlin/com/google/samples/apps/nowinandroid/core/testing/util/MainDispatcherRule.kt
@@ -30,7 +30,7 @@ import org.junit.runner.Description
30
* for the duration of the test.
31
*/
32
class MainDispatcherRule(
33
- val testDispatcher: TestDispatcher = UnconfinedTestDispatcher(),
+ private val testDispatcher: TestDispatcher = UnconfinedTestDispatcher(),
34
) : TestWatcher() {
35
override fun starting(description: Description) {
36
Dispatchers.setMain(testDispatcher)
0 commit comments