Skip to content

Commit

Permalink
Unignore Gronkh.testDescription
Browse files Browse the repository at this point in the history
Remove special character ü from assertion
  • Loading branch information
XiangRongLin committed Feb 16, 2021
1 parent d9b4c27 commit 05cb22c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.schabi.newpipe.extractor.services.youtube;

import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.schabi.newpipe.downloader.DownloaderFactory;
import org.schabi.newpipe.downloader.DownloaderTestImpl;
Expand All @@ -15,6 +14,8 @@

import java.io.IOException;

import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
Expand Down Expand Up @@ -127,10 +128,9 @@ public void testMoreRelatedItems() throws Exception {
// ChannelExtractor
//////////////////////////////////////////////////////////////////////////*/

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

@Test
Expand Down

0 comments on commit 05cb22c

Please sign in to comment.