kopia lustrzana https://github.com/TeamNewPipe/NewPipeExtractor
Fix test about exception type: NPE, not IllegalArgment
The relevant change was made in #877pull/882/head
rodzic
ecfc370685
commit
17bad6cedf
|
@ -24,7 +24,7 @@ public class YoutubeCommentsLinkHandlerFactoryTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getIdWithNullAsUrl() {
|
public void getIdWithNullAsUrl() {
|
||||||
assertThrows(IllegalArgumentException.class, () -> linkHandler.fromId(null));
|
assertThrows(NullPointerException.class, () -> linkHandler.fromId(null));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Ładowanie…
Reference in New Issue