Subject: | test fails with Perl::Critic 1.096 |
Date: | Tue, 17 Feb 2009 07:29:48 -0400 |
To: | bug-Syntax-Highlight-Engine-Simple [...] rt.cpan.org |
From: | David Bremner <bremner [...] unb.ca> |
With Perl::Critic 1.096
Test::Perl::Critic 1.01
perl 5.10.0
All from Debian packages,
I get the following failure in version 0.08 of
Syntax::Highlight::Engine::Simple
% perl t/perlcritic.t
1..1
not ok 1 - Test::Perl::Critic for "lib/Syntax/Highlight/Engine/Simple.pm"
# Failed test 'Test::Perl::Critic for "lib/Syntax/Highlight/Engine/Simple.pm"'
# at /usr/share/perl5/Test/Perl/Critic.pm line 99.
#
# Perl::Critic found these violations in "lib/Syntax/Highlight/Engine/Simple.pm":
# "return" statement followed by "sort" at line 358, column 5. Behavior is undefined if called in scalar context. (Severity: 5)
# Looks like you failed 1 test of 1.