Skip to content

Commit

Permalink
[APT-10128] Bad test revert ne
Browse files Browse the repository at this point in the history
  • Loading branch information
griffinfscribd committed Jun 5, 2024
1 parent b5a1ea4 commit c0d327c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Armadillo/src/test/java/com/scribd/armadillo/ReducerTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ class ReducerTest {
val targetDistance = 10.milliseconds
val newState = Reducer.reduce(MockModels.appState(), SkipNextAction(targetDistance))
assertThat(newState.playbackInfo!!.progress.positionInDuration).isEqualTo(targetDistance)
assertThat(newState.playbackInfo!!.progress.currentChapterIndex).isEqualTo(0)
assertThat(newState.playbackInfo!!.progress.currentChapterIndex).isEqualTo(1)

val controlState = newState.playbackInfo!!.controlState
assertThat(controlState.isSeeking).isTrue
assertThat(controlState.isSeeking).isFalse
assertThat(controlState.seekTarget).isEqualTo(targetDistance)
assertThat(controlState.isNextChapter).isTrue
}
Expand Down

0 comments on commit c0d327c

Please sign in to comment.