diff --git a/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/TtmlDecoderTest.java b/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/TtmlDecoderTest.java index 761814d526..831ee6def2 100644 --- a/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/TtmlDecoderTest.java +++ b/library/core/src/test/java/com/google/android/exoplayer2/text/ttml/TtmlDecoderTest.java @@ -304,16 +304,16 @@ public final class TtmlDecoderTest { // assertEquals(1f, cue.size); cue = getOnlyCueAtTimeUs(subtitle, 21_000_000); - assertThat(cue.text.toString()).isEqualTo("She first said this"); + assertThat(cue.text.toString()).isEqualTo("They first said this"); assertThat(cue.position).isEqualTo(45f / 100f); assertThat(cue.line).isEqualTo(45f / 100f); assertThat(cue.size).isEqualTo(35f / 100f); cue = getOnlyCueAtTimeUs(subtitle, 25_000_000); - assertThat(cue.text.toString()).isEqualTo("She first said this\nThen this"); + assertThat(cue.text.toString()).isEqualTo("They first said this\nThen this"); cue = getOnlyCueAtTimeUs(subtitle, 29_000_000); - assertThat(cue.text.toString()).isEqualTo("She first said this\nThen this\nFinally this"); + assertThat(cue.text.toString()).isEqualTo("They first said this\nThen this\nFinally this"); assertThat(cue.position).isEqualTo(45f / 100f); assertThat(cue.line).isEqualTo(45f / 100f); } diff --git a/testdata/src/test/assets/ttml/multiple_regions.xml b/testdata/src/test/assets/ttml/multiple_regions.xml index 3bde2c99b5..9404cd47d1 100644 --- a/testdata/src/test/assets/ttml/multiple_regions.xml +++ b/testdata/src/test/assets/ttml/multiple_regions.xml @@ -21,7 +21,7 @@
amet
She first said this
+They first said this
Then this
Finally this