Skip Menu |

This queue is for tickets about the Scalar-Does CPAN distribution.

Report information
The Basics
Id: 119030
Status: resolved
Priority: 0/
Queue: Scalar-Does

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

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

Attachments
Scalar-Does-0.202-Do-not-use-done_testing-with-Test-NoWarnings.patch
signature.asc



Subject: t/09warnings.t fails with Test::More ≥ 1.302064
Tests started to fail with Test::More 1.302064: t/08mooselike.t ........ ok # All assertions passed, but errors were encountered. t/09warnings.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed
From: ppisar [...] redhat.com
Dne Út 29.lis.2016 03:57:06, ppisar napsal(a): Show quoted text
> Tests started to fail with Test::More 1.302064: > > t/08mooselike.t ........ ok > # All assertions passed, but errors were encountered. > t/09warnings.t ......... > Dubious, test returned 255 (wstat 65280, 0xff00) > All 1 subtests passed
This looks a like a change wrong interaction between Test::More and Test::NoWarnings: $ perl -e 'use Test::More; use Test::NoWarnings; done_testing(1);' 1..1 ok 1 - no warnings # All assertions passed, but errors were encountered. $ echo $? 255
From: ppisar [...] redhat.com
This is a regression in Test-Simple-1.302064 <https://github.com/Test-More/test-more/issues/728>.
On Tue Nov 29 04:03:37 2016, ppisar wrote: Show quoted text
> This is a regression in Test-Simple-1.302064 <https://github.com/Test- > More/test-more/issues/728>.
This is actually a bug in the test. Test::NoWarnings is known to not work with done_testing. This test used to pass due to a bug in Test::More, the bug was fixed and now your test is failing.
Subject: Re: [rt.cpan.org #119030] t/09warnings.t fails with Test::More ≥ 1.302064
Date: Tue, 29 Nov 2016 17:43:22 +0100
To: Chad Granum via RT <bug-Scalar-Does [...] rt.cpan.org>
From: Petr Pisar <ppisar [...] redhat.com>
On Tue, Nov 29, 2016 at 11:19:40AM -0500, Chad Granum via RT wrote: Show quoted text
> This is actually a bug in the test.
Attached patch fixes the Scalar-Does tests. -- Petr

Message body is not shown because sender requested not to inline it.

Download signature.asc
application/pgp-signature 213b

Message body not shown because it is not plain text.

fixed in 0.203