From abe7450d016da5e0a4df8413c0532f222b68cc5f Mon Sep 17 00:00:00 2001 From: azumakuniyuki Date: Sun, 22 Dec 2024 09:26:42 +0900 Subject: [PATCH] Remove malformed email sample: lhost-exim-07.eml https://github.com/sisimai/set-of-emails/issues/23 --- set-of-emails/maildir/{bsd => tmp}/lhost-exim-07.eml | 0 test/public/lhost-exim.rb | 1 - test/public/mail-maildir-test.rb | 2 +- 3 files changed, 1 insertion(+), 2 deletions(-) rename set-of-emails/maildir/{bsd => tmp}/lhost-exim-07.eml (100%) diff --git a/set-of-emails/maildir/bsd/lhost-exim-07.eml b/set-of-emails/maildir/tmp/lhost-exim-07.eml similarity index 100% rename from set-of-emails/maildir/bsd/lhost-exim-07.eml rename to set-of-emails/maildir/tmp/lhost-exim-07.eml diff --git a/test/public/lhost-exim.rb b/test/public/lhost-exim.rb index 23b2c317..cdc594da 100644 --- a/test/public/lhost-exim.rb +++ b/test/public/lhost-exim.rb @@ -9,7 +9,6 @@ module Exim '04' => [['5.7.0', '550', 'blocked', false]], '05' => [['5.1.1', '553', 'userunknown', true]], '06' => [['4.0.947', '', 'expired', false]], - '07' => [['4.0.922', '', 'mailboxfull', false]], '08' => [['4.0.947', '', 'expired', false]], '29' => [['5.0.0', '550', 'authfailure', false]], '30' => [['5.7.1', '554', 'userunknown', true]], diff --git a/test/public/mail-maildir-test.rb b/test/public/mail-maildir-test.rb index 8736bcfe..a7ae364f 100644 --- a/test/public/mail-maildir-test.rb +++ b/test/public/mail-maildir-test.rb @@ -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 = 589 + DirSize = 588 def test_methods Methods[:class].each { |e| assert_respond_to Sisimai::Mail::Maildir, e }