Skip to content

Commit 5f5bd91

Browse files
authored
Merge pull request #1017 from mariomanhique/mariomanhique-main-dispatcher-rule-1
Update MainDispatcherRule.kt
2 parents f414cd4 + b2c1c11 commit 5f5bd91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/testing/src/main/kotlin/com/google/samples/apps/nowinandroid/core/testing/util/MainDispatcherRule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import org.junit.runner.Description
3030
* for the duration of the test.
3131
*/
3232
class MainDispatcherRule(
33-
val testDispatcher: TestDispatcher = UnconfinedTestDispatcher(),
33+
private val testDispatcher: TestDispatcher = UnconfinedTestDispatcher(),
3434
) : TestWatcher() {
3535
override fun starting(description: Description) {
3636
Dispatchers.setMain(testDispatcher)

0 commit comments

Comments
 (0)