mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-01-19 17:40:25 +00:00
made duration an integer, and made youtubesearch engine throw more parsingexceptions
This commit is contained in:
@@ -68,7 +68,7 @@ public class YoutubeSearchEngineTest extends AndroidTestCase {
|
||||
|
||||
public void testItemsHaveRightDuration() {
|
||||
for(StreamPreviewInfo i : result.resultList) {
|
||||
assertTrue(i.duration, i.duration.contains(":"));
|
||||
assertTrue(i.duration >= 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user