Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the App-Chronicle CPAN distribution.

Report information
The Basics
Id: 132126
Status: resolved
Priority: 0/
Queue: App-Chronicle

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

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



Subject: t/test-publish-future.t started to fail
On my smoker systems: ... # Failed test 'The future post won't be made live' # at t/test-publish-future.t line 29. # got: 'HASH(0x41095870)' # expected: undef Use of uninitialized value $data{"publish"} in substitution (s///) at t/test-publish-future.t line 34. # Failed test 'The post is dated in the past, as expected.' # at t/test-publish-future.t line 42. # Looks like you failed 2 tests of 5. t/test-publish-future.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/5 subtests ... (I see that the project is archived on github, but it's still available on CPAN and not marked as deprecated here)
Thanks for the report; as you note the repository is archived by the fix here is trivial: --- a/t/test-publish-future.t +++ b/t/test-publish-future.t @@ -19,7 +19,7 @@ require_ok('Chronicle::Plugin::PostSpooler'); my %data; $data{ 'body' } = "This is **bold**"; $data{ 'publish' } = scalar( localtime() ); -$data{ 'publish' } =~ s/(201[1-9])/2099/g; +$data{ 'publish' } =~ s/(20[0-9]+)/2099/g; I'll make a new release to resolve the problem. Steve
Show quoted text
> I'll make a new release to resolve the problem.
5.1.8 released, and uploaded to CPAN now. Steve