Skip to content

Commit

Permalink
Update the test codes for Sisimai::Lhost::qmail (indimail) #209 #220
Browse files Browse the repository at this point in the history
  • Loading branch information
azumakuniyuki committed Jun 26, 2024
1 parent 01f8068 commit 052a8a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion t/022-mail-maildir.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ my $Methods = {
'class' => ['new'],
'object' => ['path', 'dir', 'file', 'size', 'offset', 'handle', 'read'],
};
my $MaildirSize = 583;
my $MaildirSize = 589;
my $SampleEmail = './set-of-emails/maildir/bsd';
my $NewInstance = $Package->new($SampleEmail);

Expand Down
7 changes: 7 additions & 0 deletions t/770-lhost-qmail.t
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ my $isexpected = {
['5.2.2', '552', 'mailboxfull', 0]],
'18' => [['5.1.1', '550', 'userunknown', 1]],
'19' => [['4.7.0', '421', 'badreputation', 0]],
'20' => [['5.7.26', '550', 'authfailure', 0]],
'21' => [['5.1.1', '', 'userunknown', 1]],
'22' => [['5.7.509', '550', 'authfailure', 0]],
'23' => [['5.1.1', '550', 'userunknown', 1]],
'24' => [['5.2.2', '552', 'mailboxfull', 0]],
'25' => [['5.2.2', '552', 'mailboxfull', 0],
['5.1.1', '550', 'userunknown', 1]],
};

$enginetest->($enginename, $isexpected);
Expand Down

0 comments on commit 052a8a8

Please sign in to comment.