Skip to content

Commit 17bad6c

Browse files
Stypoxlitetex
authored andcommitted
Fix test about exception type: NPE, not IllegalArgment
The relevant change was made in TeamNewPipe#877
1 parent ecfc370 commit 17bad6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsLinkHandlerFactoryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static void setUp() {
2424

2525
@Test
2626
public void getIdWithNullAsUrl() {
27-
assertThrows(IllegalArgumentException.class, () -> linkHandler.fromId(null));
27+
assertThrows(NullPointerException.class, () -> linkHandler.fromId(null));
2828
}
2929

3030
@Test

0 commit comments

Comments
 (0)