Skip to content

Commit 69ccb7e

Browse files
committed
Update subtitle tests comments
1 parent 7943130 commit 69ccb7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/stream/YoutubeStreamExtractorControversialTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,13 @@ public void testGetVideoStreams() throws IOException, ExtractionException {
122122

123123
@Test
124124
public void testGetSubtitlesListDefault() throws IOException, ExtractionException {
125-
// Video (/view?v=YQHsXMglC9A) set in the setUp() method has no captions => null
125+
// Video (/view?v=T4XJQO3qol8) set in the setUp() method has at least auto-generated (English) captions
126126
assertFalse(extractor.getSubtitlesDefault().isEmpty());
127127
}
128128

129129
@Test
130130
public void testGetSubtitlesList() throws IOException, ExtractionException {
131-
// Video (/view?v=YQHsXMglC9A) set in the setUp() method has no captions => null
131+
// Video (/view?v=T4XJQO3qol8) set in the setUp() method has at least auto-generated (English) captions
132132
assertFalse(extractor.getSubtitles(MediaFormat.TTML).isEmpty());
133133
}
134134
}

0 commit comments

Comments
 (0)