diff options
Diffstat (limited to 't/watch_maildir.t')
-rw-r--r-- | t/watch_maildir.t | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/t/watch_maildir.t b/t/watch_maildir.t index 38297043..a5fb52b2 100644 --- a/t/watch_maildir.t +++ b/t/watch_maildir.t @@ -6,12 +6,7 @@ use Email::MIME; use Cwd; use PublicInbox::Config; use PublicInbox::TestCommon; -my @mods = qw(Filesys::Notify::Simple); -foreach my $mod (@mods) { - eval "require $mod"; - plan skip_all => "$mod missing for watch_maildir.t" if $@; -} - +require_mods(qw(Filesys::Notify::Simple)); my ($tmpdir, $for_destroy) = tmpdir(); my $git_dir = "$tmpdir/test.git"; my $maildir = "$tmpdir/md"; |