xslate / p5-Mouse

Lightweight class builder for Perl, as a subset of Moose
https://metacpan.org/release/Mouse
Other
46 stars 32 forks source link

blead broke t/010_basics/007_always_strict_warnings.t #34

Closed rurban closed 9 years ago

rurban commented 9 years ago

They changed the strict vars warning a bit, trivial to fix.

t/010_basics/007_always_strict_warnings.t ...................... 1/15
#   Failed test '... got the right error'
#   at t/010_basics/007_always_strict_warnings.t line 12.
#                   'Global symbol "$foo" requires explicit package name (did you forget to declare "my $foo"?) at (eval 8) line 1.
# '
#     doesn't match '(?^:Global symbol \"\$foo\" requires explicit package name at)'

#   Failed test '... got the right error'
#   at t/010_basics/007_always_strict_warnings.t line 34.
#                   'Global symbol "$foo" requires explicit package name (did you forget to declare "my $foo"?) at (eval 12) line 1.
# '
#     doesn't match '(?^:Global symbol \"\$foo\" requires explicit package name at)'

#   Failed test '... got the right error'
#   at t/010_basics/007_always_strict_warnings.t line 56.
#                   'Global symbol "$foo" requires explicit package name (did you forget to declare "my $foo"?) at (eval 16) line 1.
# '
#     doesn't match '(?^:Global symbol \"\$foo\" requires explicit package name at)'
# Looks like you failed 3 tests of 15.
t/010_basics/007_always_strict_warnings.t ...................... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/15 subtests
rurban commented 9 years ago

Reported upstream at https://rt.cpan.org/Ticket/Display.html?id=98987

syohex commented 9 years ago

This issue was fixed at Mouse-2.4.1.