Skip to content

Commit

Permalink
[GH] Remove usage of MainDispatcherRule in PagingDataDifferTest
Browse files Browse the repository at this point in the history
Opted to just pass in an `EmptyCoroutineContext` to `PagingDataDiffer` instead of inlining `MainDispathcherRule`, as it's clearer to follow. The removal of `loadDispatcher` was necessary for this to pass. I didn't trace why this had to be removed, but imo it makes the tests easier to read.

Test: ./gradlew test connectedCheck
Bug: 270612487

This is an imported pull request from androidx#562.

Resolves #562
Github-Pr-Head-Sha: 1f5051a
GitOrigin-RevId: 469c543
Change-Id: Ic697668277be5ad8d7f99c244a5977127f4f96ab
  • Loading branch information
veyndan authored and copybara-github committed Jun 18, 2023
1 parent 469681f commit 128f82c
Showing 1 changed file with 73 additions and 83 deletions.
Loading

0 comments on commit 128f82c

Please sign in to comment.