File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package org .schabi .newpipe .extractor .services .youtube ;
22
33import org .junit .BeforeClass ;
4- import org .junit .Ignore ;
54import org .junit .Test ;
65import org .schabi .newpipe .downloader .DownloaderFactory ;
76import org .schabi .newpipe .downloader .DownloaderTestImpl ;
1514
1615import java .io .IOException ;
1716
17+ import static org .hamcrest .CoreMatchers .containsString ;
18+ import static org .hamcrest .MatcherAssert .assertThat ;
1819import static org .junit .Assert .assertEquals ;
1920import static org .junit .Assert .assertTrue ;
2021import 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
You can’t perform that action at this time.
0 commit comments