Skip to content

Commit

Permalink
Fix test about exception type: NPE, not IllegalArgment
Browse files Browse the repository at this point in the history
The relevant change was made in TeamNewPipe#877
  • Loading branch information
Stypox authored and litetex committed Aug 14, 2022
1 parent ecfc370 commit 17bad6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static void setUp() {

@Test
public void getIdWithNullAsUrl() {
assertThrows(IllegalArgumentException.class, () -> linkHandler.fromId(null));
assertThrows(NullPointerException.class, () -> linkHandler.fromId(null));
}

@Test
Expand Down

0 comments on commit 17bad6c

Please sign in to comment.