File: 1_mmb.t

package info (click to toggle)
libmail-mboxparser-perl 0.55-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 404 kB
  • sloc: perl: 1,011; makefile: 2
file content (16 lines) | stat: -rwxr-xr-x 244 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use Test;
use File::Spec;
use strict;

use Mail::MboxParser;

my $src = File::Spec->catfile('t', 'testbox');

BEGIN { plan tests => 3 };

my $mb  = Mail::MboxParser->new($src);

ok(defined $mb);
ok($mb->nmsgs == 9);
ok($mb->current_pos == 0);