Fix getLength() tests now that the value is rounded (not floor-ed)

In yt stream extractor
This commit is contained in:
Stypox 2020-01-06 20:49:08 +01:00
parent 1ed89aad3e
commit 1689037b01
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public class YoutubeStreamExtractorAgeRestrictedTest {
@Test @Test
public void testGetLength() throws ParsingException { public void testGetLength() throws ParsingException {
assertEquals(1789, extractor.getLength()); assertEquals(1790, extractor.getLength());
} }
@Test @Test

View File

@ -101,7 +101,7 @@ public class YoutubeStreamExtractorDefaultTest {
@Test @Test
public void testGetLength() throws ParsingException { public void testGetLength() throws ParsingException {
assertEquals(366, extractor.getLength()); assertEquals(367, extractor.getLength());
} }
@Test @Test