Fixed typos in tests

This commit is contained in:
tonakriz 2017-11-23 12:30:19 +01:00
parent f09b4e68d0
commit 320c0d8c99
3 changed files with 4 additions and 4 deletions

View File

@ -105,6 +105,6 @@ public class SoundcloudStreamExtractorDefaultTest {
@Test
public void testGetSubtitles() throws IOException, ExtractionException, JsonParserException {
assertTrue(extractor.getSubtitles() != null);
assertTrue(extractor.getSubtitles() == null);
}
}

View File

@ -154,6 +154,6 @@ public class YoutubeStreamExtractorDefaultTest {
@Test
public void testGetSubtitlesList() throws IOException, ExtractionException, JsonParserException {
// Video (/view?v=YQHsXMglC9A) set in the setUp() method has no captions => null
assertTrue(extractor.getSubtitles() != null);
assertTrue(extractor.getSubtitles() == null);
}
}

View File

@ -106,7 +106,7 @@ public class YoutubeStreamExtractorRestrictedTest {
}
@Test
public void testGetSubtitlesList() throws IOException, ExtractionException, JsonParserException {
assertTrue(extractor.getSubtitles() != null);
public void testGetSubtitles() throws IOException, ExtractionException, JsonParserException {
assertTrue(extractor.getSubtitles() == null);
}
}