about summary refs log tree commit homepage
path: root/t/watch_nntp.t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-08-31 04:41:32 +0000
committerEric Wong <e@80x24.org>2020-09-01 00:19:03 +0000
commitcee907599bb7eda0695ae91cf8d633670a88d6c7 (patch)
treee7e4a0b0f8ce6f0b13d81bda3dde7b887ece7933 /t/watch_nntp.t
parent47b7047874ed7d6f39b9758134f112cdc46489cf (diff)
downloadpublic-inbox-cee907599bb7eda0695ae91cf8d633670a88d6c7.tar.gz
rename WatchMaildir => Watch
This is no longer limited to Maildirs now that IMAP and NNTP
support exist; so give it a shorter name.
Diffstat (limited to 't/watch_nntp.t')
-rw-r--r--t/watch_nntp.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/watch_nntp.t b/t/watch_nntp.t
index 98fb1161..ce1a3153 100644
--- a/t/watch_nntp.t
+++ b/t/watch_nntp.t
@@ -5,8 +5,8 @@ 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',