Fix test about exception type: NPE, not IllegalArgment

The relevant change was made in #877
This commit is contained in:
Stypox 2022-08-04 10:21:12 +02:00 committed by litetex
parent ecfc370685
commit 17bad6cedf
1 changed files with 1 additions and 1 deletions

View File

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