File: 20_local.t

package info (click to toggle)
libemail-foldertype-perl 0.7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 76 kB
  • ctags: 9
  • sloc: perl: 42; makefile: 40
file content (17 lines) | stat: -rw-r--r-- 420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use Test::More tests => 7;

use Email::FolderType qw[folder_type];

my $BOXES = "t/boxes";

is folder_type("$BOXES/mbox"), "Mbox", "mbox";
is folder_type("mbox"), "Mbox", "mbox";

is folder_type("maildir/"), "Maildir", 'maildir';
is folder_type("$BOXES/maildir"), "Maildir", 'maildir';

is folder_type("ezmlm//"), "Ezmlm", 'ezmlm';
is folder_type("$BOXES/ezmlm"), 'Ezmlm', 'ezmlm';

is folder_type("mh/."), 'MH', 'mh';