Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 18670
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: PETEK [...] cpan.org (weekly)
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.15
Fixed in: 0.15_01



Subject: Test failure if Perl::Tidy is not installed
In 0.15, the test t/20_policies_codelayout.t fails on the 'Untidy code' test if Perl::Tidy is not installed, because Perl::Critic::Policy::CodeLayout::RequireTidyCode silently "succeeds" in this case. Either the test needs to account for Perl::Tidy not being installed, or Perl::Tidy needs to be listed as a prereq for Perl::Critic.
From: cdolan [...] cpan.org
On Tue Apr 11 20:53:44 2006, PETEK wrote: Show quoted text
> In 0.15, the test t/20_policies_codelayout.t fails on the 'Untidy code' > test if Perl::Tidy is not installed, because > Perl::Critic::Policy::CodeLayout::RequireTidyCode silently "succeeds" in > this case. Either the test needs to account for Perl::Tidy not being > installed, or Perl::Tidy needs to be listed as a prereq for Perl::Critic.
Thanks for the report. Coincidentally, Jeff just fixed this bug a couple days ago. The fix will be in the forthcoming v0.16. -- Chris