mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-13 13:50:33 +05:30
Fix test about exception type: NPE, not IllegalArgment
The relevant change was made in #877
This commit is contained in:
parent
ecfc370685
commit
17bad6cedf
@ -24,7 +24,7 @@ public class YoutubeCommentsLinkHandlerFactoryTest {
|
||||
|
||||
@Test
|
||||
public void getIdWithNullAsUrl() {
|
||||
assertThrows(IllegalArgumentException.class, () -> linkHandler.fromId(null));
|
||||
assertThrows(NullPointerException.class, () -> linkHandler.fromId(null));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user