From b0b13249a538fc6f9a4c109d15d51170e3dd8bdd Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 19 Jan 2021 09:34:35 +0000 Subject: lei_overview: start implementing format detection We'll need it for IMAP support, at least. Proper mbox family detection will be expensive, so deal with it later. --- t/lei.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') diff --git a/t/lei.t b/t/lei.t index 8bb4e439..64cb5f0e 100644 --- a/t/lei.t +++ b/t/lei.t @@ -232,6 +232,8 @@ my $test_external = sub { my @res = $cat->(); is_deeply(\@res, [], "clobber w/o --augment $sfx"); } + ok(!$lei->('q', '-o', "$home/mbox", 's:nope'), + 'fails if mbox format unspecified'); }; my $test_lei_common = sub { -- cgit v1.2.3-24-ge0c7