Skip to content

Commit

Permalink
Update the test codes for Sisimai::Lhost::qmail (indimail) 93b5035
Browse files Browse the repository at this point in the history
  • Loading branch information
azumakuniyuki committed Jun 26, 2024
1 parent 93b5035 commit cfe917a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions test/public/lhost-qmail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ module Qmail
['5.2.2', '552', 'mailboxfull', false]],
'18' => [['5.1.1', '550', 'userunknown', true]],
'19' => [['4.7.0', '421', 'badreputation', false]],
'20' => [['5.7.26', '550', 'authfailure', false]],
'21' => [['5.1.1', '', 'userunknown', true]],
'22' => [['5.7.509', '550', 'authfailure', false]],
'23' => [['5.1.1', '550', 'userunknown', true]],
'24' => [['5.2.2', '552', 'mailboxfull', false]],
'25' => [['5.2.2', '552', 'mailboxfull', false],
['5.1.1', '550', 'userunknown', true]],
}
end
end
Expand Down
2 changes: 1 addition & 1 deletion test/public/mail-maildir-test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class MailMaildirTest < Minitest::Test
Methods = { class: %w[new], object: %w[path dir file size handle offset read] }
Samples = ['./set-of-emails/maildir/bsd', './set-of-emails/maildir/mac']
Maildir = Sisimai::Mail::Maildir.new(Samples[0])
DirSize = 585
DirSize = 591

def test_methods
Methods[:class].each { |e| assert_respond_to Sisimai::Mail::Maildir, e }
Expand Down

0 comments on commit cfe917a

Please sign in to comment.