Skip Menu |

This queue is for tickets about the Moose CPAN distribution.

Report information
The Basics
Id: 120033
Status: resolved
Priority: 0/
Queue: Moose

People
Owner: Nobody in particular
Requestors: nanis [...] cpan.org
Cc:
AdminCc:

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



Subject: Spurious Moose 2.2000 test failure on Windows due to filename in regex pattern
Date: Sun, 29 Jan 2017 16:08:52 -0500
To: bug-Moose [...] rt.cpan.org
From: "A. Sinan Unur" <nanis [...] cpan.org>
Line 515 of t\attributes\attribute_delegation.t has this: like( $e, qr{ in DelegatesToThrower for thrower->throw \(attribute declared in $file at line \d+\)}, 'stack trace tells you where delegation was defined' ); On Windows, with MSVC compiled perl, the test fails because of the unescaped file name that is interpolated into the pattern. The `\a` is 0x07, i.e. CTRL-G, i.e. BEL https://en.wikipedia.org/wiki/Bell_character The test should be written as like( $e, qr{ in DelegatesToThrower for thrower->throw \(attribute declared in \Q$file\E at line \d+\)}, 'stack trace tells you where delegation was defined' ); to avoid this issue. Thanks. -- Sinan
On 2017-01-29 13:09:15, nanis@cpan.org wrote: Show quoted text
> On Windows, with MSVC compiled perl, the test fails because of the > unescaped file name that is interpolated into the pattern. The `\a` is > 0x07, i.e. CTRL-G, i.e. BEL
Thanks. Could you possibly add the trial releases to your smoker schedule? this test has been present since 2.1902-TRIAL (five releases ago).
Moose-2.2001 is released.
Subject: Re: [rt.cpan.org #120033] Spurious Moose 2.2000 test failure on Windows due to filename in regex pattern
Date: Sun, 29 Jan 2017 16:58:37 -0500
To: bug-Moose [...] rt.cpan.org
From: "A. Sinan Unur" <nanis [...] cpan.org>
On Sun, Jan 29, 2017 at 4:36 PM, Karen Etheridge via RT <bug-Moose@rt.cpan.org> wrote: Show quoted text
... Show quoted text
> Could you possibly add the trial releases to your smoker schedule? this test has been present since 2.1902-TRIAL (five releases ago).
Thanks for the quick response. I am not running a smoker. I just to `cpan-outdated | cpanm`, look at the results and `cpanm-reporter` (IIRC, you gave me the idea). I only do trial releases if the author asks in response to a bug report. HTH, -- Sinan