Subject: | Failed test 'Sane error message for syntax error' |
I get this when running tests on perl-5.12.4:
t/closure.t .......................... ok
t/declarators.t ...................... ok
# Failed test 'Sane error message for syntax error'
# at t/errors.t line 10.
# 'Failed to compile source: Compilation error
#
# source:
# sub { ( do { do {my $check = $_[0];ref($check) eq "ARRAY" &&
&List::MoreUtils::all(sub { ( do { 1 } ) }, @{$check})} } ) } at
/usr/local/lib/perl/5.12.4/Moose/Meta/TypeConstraint.pm line 320.
# Compilation failed in require at (eval 8) line 1.
# BEGIN failed--compilation aborted at (eval 8) line 1.
# '
# doesn't match '(?-xism:^Global symbol "\$op" requires explicit
package name at .*?\bInvalidCase01.pm line 8\b)'
# Looks like you failed 1 test of 4.
t/errors.t ...........................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests
t/eval.t ............................. ok
t/list.t ............................. ok