Skip to content

Commit

Permalink
Bump android-gradle-plugin from 8.4.1 to 8.4.2 (#576)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gaëtan Muller <[email protected]>
  • Loading branch information
dependabot[bot] and MGaetan89 authored Jun 12, 2024
1 parent 498045d commit a61594d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
accompanist = "0.34.0"
android-desugar-jdk-libs = "2.0.4"
android-gradle-plugin = "8.4.1"
android-gradle-plugin = "8.4.2"
androidx-activity = "1.9.0"
androidx-annotation = "1.8.0"
androidx-compose = "2024.05.00"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import kotlin.test.AfterTest
import kotlin.test.BeforeTest
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertTrue
import kotlin.time.Duration.Companion.milliseconds

@RunWith(AndroidJUnit4::class)
Expand Down Expand Up @@ -177,7 +178,9 @@ class PlayerCallbackFlowTest {
TestPlayerRunHelper.runUntilPlaybackState(player, Player.STATE_READY)

player.getCurrentDefaultPositionAsFlow().test {
assertEquals(6L, awaitItem().milliseconds.inWholeHours)
val currentDefaultPositionInHours = awaitItem().milliseconds.inWholeHours

assertTrue(currentDefaultPositionInHours in 5..6)
ensureAllEventsConsumed()
}
}
Expand Down

0 comments on commit a61594d

Please sign in to comment.