Update MainDispatcherRule.kt

Updated MainDispatcherRule parameter accessibility to private because its only needs to be accessible inside that class.
pull/1017/head
Mario Manhique 1 year ago committed by GitHub
parent 3ccacba0fe
commit b2c1c11218
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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