Skip to content

Commit 05cb22c

Browse files
committed
Unignore Gronkh.testDescription
Remove special character ü from assertion
1 parent d9b4c27 commit 05cb22c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

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

33
import org.junit.BeforeClass;
4-
import org.junit.Ignore;
54
import org.junit.Test;
65
import org.schabi.newpipe.downloader.DownloaderFactory;
76
import org.schabi.newpipe.downloader.DownloaderTestImpl;
@@ -15,6 +14,8 @@
1514

1615
import java.io.IOException;
1716

17+
import static org.hamcrest.CoreMatchers.containsString;
18+
import static org.hamcrest.MatcherAssert.assertThat;
1819
import static org.junit.Assert.assertEquals;
1920
import static org.junit.Assert.assertTrue;
2021
import static org.junit.Assert.fail;
@@ -127,10 +128,9 @@ public void testMoreRelatedItems() throws Exception {
127128
// ChannelExtractor
128129
//////////////////////////////////////////////////////////////////////////*/
129130

130-
@Ignore("TODO fix, character ü makes problems")
131131
@Test
132132
public void testDescription() throws Exception {
133-
assertTrue(extractor.getDescription().contains("Zart im Schmelz und süffig im Abgang. Ungebremster Spieltrieb"));
133+
assertThat(extractor.getDescription(), containsString("Ungebremster Spieltrieb seit 1896."));
134134
}
135135

136136
@Test

0 commit comments

Comments
 (0)