From 3da1e1c91effff02857badfe3a472a49aba9d60d Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sun, 19 Jun 2022 20:12:04 -0400 Subject: Fix off-by-one error in subject and remaining count header. --- t/fixtures/bar.expected | 2 +- t/fixtures/foo.expected | 2 +- t/fixtures/foo2.expected | 2 +- t/fixtures/multiple.expected | 2 +- t/fixtures/nosubj.expected | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 't/fixtures') 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: 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: 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: 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: 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: 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. -- cgit v1.2.3