Workaround a Test::Builder2 (2.00_06)'s threading issue.
[gitmo/Mouse.git] / xt / 006-perlcritic.t
1 use strict;
2 use Test::More;
3 eval {
4     require Perl::Critic;
5     Perl::Critic->VERSION(1.105);
6
7     require Test::Perl::Critic;
8     Test::Perl::Critic->import( -profile => \join q{}, <DATA>);
9 };
10 plan skip_all => "Test::Perl::Critic is not installed." if $@;
11 all_critic_ok('lib');
12
13 __END__
14
15 exclude=ProhibitStringyEval ProhibitExplicitReturnUndef RequireBarewordIncludes
16
17 [TestingAndDebugging::ProhibitNoStrict]
18 allow=refs
19
20 [TestingAndDebugging::RequireUseStrict]
21 equivalent_modules = Mouse Mouse::Exporter Mouse::Util Mouse::Util::TypeConstraints
22
23 [TestingAndDebugging::RequireUseWarnings]
24 equivalent_modules = Mouse Mouse::Exporter Mouse::Util Mouse::Util::TypeConstraints
25