X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fwatch_filter_rubylang.t;h=4b72dbae97f763c2a88df4a4220266c636fe74c1;hp=db48cb2ffde3d60742ed208a305a8cda702a57f0;hb=cee907599bb7eda0695ae91cf8d633670a88d6c7;hpb=47b7047874ed7d6f39b9758134f112cdc46489cf diff --git a/t/watch_filter_rubylang.t b/t/watch_filter_rubylang.t index db48cb2f..4b72dbae 100644 --- a/t/watch_filter_rubylang.t +++ b/t/watch_filter_rubylang.t @@ -7,7 +7,7 @@ use Test::More; use PublicInbox::Eml; use PublicInbox::Config; require_mods(qw(DBD::SQLite Search::Xapian)); -use_ok 'PublicInbox::WatchMaildir'; +use_ok 'PublicInbox::Watch'; use_ok 'PublicInbox::Emergency'; my ($tmpdir, $for_destroy) = tmpdir(); local $ENV{PI_CONFIG} = "$tmpdir/pi_config"; @@ -76,7 +76,7 @@ EOF my $ibx = $config->lookup_name($v); ok($ibx, 'found inbox by name'); - my $w = PublicInbox::WatchMaildir->new($config); + my $w = PublicInbox::Watch->new($config); for my $i (1..2) { $w->scan('full'); }