Skip Menu |

This queue is for tickets about the Email-Mailer CPAN distribution.

Report information
The Basics
Id: 120152
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Email-Mailer

People
Owner: gryphon [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.01
Fixed in: (no value)



Subject: t/module.t fails (east of Greenwich)
The regexp assumes that the timezone offset is negative, so the test fails e.g. in the CET timezone: ... # Failed test 'text_only.qr' # at t/module.t line 38. # 'From: from@example.com # Subject: Test Email # To: to@example.com # Date: Thu, 9 Feb 2017 02:57:02 +0100 # MIME-Version: 1.0 # # This is a simple text-only email.' # doesn't match '(?^ms:From: from@example.com\s+Subject: Test Email\s+To: to@example.com\s+Date: \w+, \d+ \w+ \d+ \d+:\d+:\d+ -\d+\s+MIME-Version: 1\.0\s+\s+This is a simple text-only email\.)' ...
Thanks for the report. I've patched this issue with v1.02 just now. On Thu Feb 09 01:23:22 2017, SREZIC wrote: Show quoted text
> The regexp assumes that the timezone offset is negative, so the test > fails e.g. in the CET timezone: > > ... > # Failed test 'text_only.qr' > # at t/module.t line 38. > # 'From: from@example.com > # Subject: Test Email > # To: to@example.com > # Date: Thu, 9 Feb 2017 02:57:02 +0100 > # MIME-Version: 1.0 > # > # This is a simple text-only email.' > # doesn't match '(?^ms:From: from@example.com\s+Subject: Test > Email\s+To: to@example.com\s+Date: \w+, \d+ \w+ \d+ \d+:\d+:\d+ > -\d+\s+MIME-Version: 1\.0\s+\s+This is a simple text-only email\.)' > ...