aboutsummaryrefslogtreecommitdiffstats
path: root/t/fixtures
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2022-06-19 20:12:04 -0400
committerBrian Cully <bjc@kublai.com>2022-06-19 20:12:04 -0400
commit3da1e1c91effff02857badfe3a472a49aba9d60d (patch)
tree6514d42e41cdcdcf362c63b373e727dec5c2f628 /t/fixtures
parentf2820a509d91061b65fa32ec4e647cbd29760195 (diff)
downloadspamcat-3da1e1c91effff02857badfe3a472a49aba9d60d.tar.gz
spamcat-3da1e1c91effff02857badfe3a472a49aba9d60d.zip
Fix off-by-one error in subject and remaining count header.
Diffstat (limited to 't/fixtures')
-rw-r--r--t/fixtures/bar.expected2
-rw-r--r--t/fixtures/foo.expected2
-rw-r--r--t/fixtures/foo2.expected2
-rw-r--r--t/fixtures/multiple.expected2
-rw-r--r--t/fixtures/nosubj.expected2
5 files changed, 5 insertions, 5 deletions
diff --git a/t/fixtures/bar.expected b/t/fixtures/bar.expected
index e554c65..f351443 100644
--- a/t/fixtures/bar.expected
+++ b/t/fixtures/bar.expected
@@ -6,7 +6,7 @@ Received: from mta.example.com
Received: by mta.example.com (Postfix, from userid 1001)
id 844956F1EE; Thu, 20 Nov 2014 17:17:18 -0500 (EST)
To: bar@spamcat.example.com
-Subject: test - [21/20]
+Subject: test - [20/20]
Message-Id: <bar@mta.example.com>
Date: Thu, 20 Nov 2014 17:17:18 -0500 (EST)
From: sender@example.com (Spamcat Sender)
diff --git a/t/fixtures/foo.expected b/t/fixtures/foo.expected
index 7516338..cc0ef3b 100644
--- a/t/fixtures/foo.expected
+++ b/t/fixtures/foo.expected
@@ -10,6 +10,6 @@ Subject: test - [3/20]
Message-Id: <foo@mta.example.com>
Date: Thu, 20 Nov 2014 17:17:18 -0500 (EST)
From: sender@example.com (Spamcat Sender)
-X-SpamCat-Remaining: 18
+X-SpamCat-Remaining: 17
Sample email.
diff --git a/t/fixtures/foo2.expected b/t/fixtures/foo2.expected
index ed86987..da27a77 100644
--- a/t/fixtures/foo2.expected
+++ b/t/fixtures/foo2.expected
@@ -10,6 +10,6 @@ Subject: test - [4/20]
Message-Id: <foo2@mta.example.com>
Date: Thu, 20 Nov 2014 17:17:18 -0500 (EST)
From: sender@example.com (Spamcat Sender)
-X-SpamCat-Remaining: 17
+X-SpamCat-Remaining: 16
Sample email.
diff --git a/t/fixtures/multiple.expected b/t/fixtures/multiple.expected
index c867cc4..66e4fa6 100644
--- a/t/fixtures/multiple.expected
+++ b/t/fixtures/multiple.expected
@@ -11,6 +11,6 @@ Subject: test - [1/20]
Message-Id: <multiple@mta.example.com>
Date: Thu, 20 Nov 2014 17:17:18 -0500 (EST)
From: sender@example.com (Spamcat Sender)
-X-SpamCat-Remaining: 20
+X-SpamCat-Remaining: 19
Sample email.
diff --git a/t/fixtures/nosubj.expected b/t/fixtures/nosubj.expected
index 440a862..cf017ec 100644
--- a/t/fixtures/nosubj.expected
+++ b/t/fixtures/nosubj.expected
@@ -10,6 +10,6 @@ Message-Id: <nosubj@mta.example.com>
Date: Thu, 20 Nov 2014 17:17:18 -0500 (EST)
From: sender@example.com (Spamcat Sender)
Subject: [1/20]
-X-SpamCat-Remaining: 20
+X-SpamCat-Remaining: 19
Sample email.