Skip to content

Commit

Permalink
Merge pull request android#1017 from mariomanhique/mariomanhique-main…
Browse files Browse the repository at this point in the history
…-dispatcher-rule-1

Update MainDispatcherRule.kt
  • Loading branch information
dturner authored Nov 6, 2023
2 parents f414cd4 + b2c1c11 commit 5f5bd91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5f5bd91

Please sign in to comment.