Update MainDispatcherRule.kt

Updated MainDispatcherRule parameter accessibility to private because its only needs to be accessible inside that class.
pull/1837/head
Mario Manhique 2 years ago committed by GitHub
parent c087a514d8
commit 9d43ecfdb9

@ -30,7 +30,7 @@ import org.junit.runner.Description
* for the duration of the test.
*/
class MainDispatcherRule(
val testDispatcher: TestDispatcher = UnconfinedTestDispatcher(),
private val testDispatcher: TestDispatcher = UnconfinedTestDispatcher(),
) : TestWatcher() {
override fun starting(description: Description) {
Dispatchers.setMain(testDispatcher)

Loading…
Cancel
Save