X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fwatch_imap.t;h=fb71d3dfe57b30c3c9e56e1a3b6784cc65fe08f0;hb=cee907599bb7eda0695ae91cf8d633670a88d6c7;hp=9433bb6f443ffc906fe4d5c221ad2612eb1f0c3b;hpb=1d2cc9c8ebf7916616c947837854a4a01d76d447;p=public-inbox.git diff --git a/t/watch_imap.t b/t/watch_imap.t index 9433bb6f..fb71d3df 100644 --- a/t/watch_imap.t +++ b/t/watch_imap.t @@ -5,14 +5,14 @@ use Test::More; use PublicInbox::Config; # see t/imapd*.t for tests against a live IMAP server -use_ok 'PublicInbox::WatchMaildir'; +use_ok 'PublicInbox::Watch'; my $cfg = PublicInbox::Config->new(\<new($cfg); +my $watch = PublicInbox::Watch->new($cfg); is($watch->{imap}->{'imap://example.com/INBOX.a'}->[0]->{name}, 'i', 'watched an inbox'); is($watch->{imap}->{'imap://example.com/INBOX.spam'}, 'watchspam',