Skip to content

Commit bd22b55

Browse files
committed
fixed youtube channel name test
1 parent 2193119 commit bd22b55

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeChannelExtractorTest.java

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
package org.schabi.newpipe.extractor.services.youtube;
22

3+
import static org.junit.Assert.assertEquals;
4+
import static org.junit.Assert.assertTrue;
5+
import static org.junit.Assert.fail;
6+
import static org.schabi.newpipe.extractor.ExtractorAsserts.assertIsSecureUrl;
7+
import static org.schabi.newpipe.extractor.ServiceList.YouTube;
8+
import static org.schabi.newpipe.extractor.services.DefaultTests.defaultTestGetPageInNewExtractor;
9+
import static org.schabi.newpipe.extractor.services.DefaultTests.defaultTestMoreItems;
10+
import static org.schabi.newpipe.extractor.services.DefaultTests.defaultTestRelatedItems;
11+
312
import org.junit.BeforeClass;
413
import org.junit.Test;
514
import org.schabi.newpipe.Downloader;
@@ -11,11 +20,6 @@
1120
import org.schabi.newpipe.extractor.services.youtube.extractors.YoutubeChannelExtractor;
1221
import org.schabi.newpipe.extractor.utils.Localization;
1322

14-
import static org.junit.Assert.*;
15-
import static org.schabi.newpipe.extractor.ExtractorAsserts.assertIsSecureUrl;
16-
import static org.schabi.newpipe.extractor.ServiceList.YouTube;
17-
import static org.schabi.newpipe.extractor.services.DefaultTests.*;
18-
1923
/**
2024
* Test for {@link ChannelExtractor}
2125
*/
@@ -323,7 +327,7 @@ public void testServiceId() {
323327

324328
@Test
325329
public void testName() throws Exception {
326-
assertEquals("CaptainDisillusion", extractor.getName());
330+
assertEquals("Captain Disillusion", extractor.getName());
327331
}
328332

329333
@Test

0 commit comments

Comments
 (0)