X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fwatch_nntp.t;h=c0ad3098fd71b549f649b21bf20fa6d3a3d3980a;hb=af0b0fb7a454470a32c452119d0392e0dedb3fe1;hp=98fb1161d1c40ddde682757258d7a279cc4054f2;hpb=371e5e2f808af2e4726d0f1eb6f1f81ea7214ae9;p=public-inbox.git
diff --git a/t/watch_nntp.t b/t/watch_nntp.t
index 98fb1161..c0ad3098 100644
--- a/t/watch_nntp.t
+++ b/t/watch_nntp.t
@@ -1,12 +1,12 @@
-# Copyright (C) 2020 all contributors
+# Copyright (C) 2020-2021 all contributors
# License: AGPL-3.0+
use strict;
use Test::More;
use PublicInbox::Config;
# see t/nntpd*.t for tests against a live NNTP server
-use_ok 'PublicInbox::WatchMaildir';
-my $nntp_url = \&PublicInbox::WatchMaildir::nntp_url;
+use_ok 'PublicInbox::Watch';
+my $nntp_url = \&PublicInbox::Watch::nntp_url;
is('news://example.com/inbox.foo',
$nntp_url->('NEWS://examplE.com/inbox.foo'), 'lowercased');
is('nntps://example.com/inbox.foo',