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 committed Aug 4, 2022
1 parent 81ea3d8 commit efa8090
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 efa8090

Please sign in to comment.