From 3e13de0966e361ca4e70cfd2d781320f25d820d3 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 27 Sep 2017 16:25:49 -0400 Subject: Bug 1402878 - Add some more sanity-type tests, including perl critic --- t/critic.t | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 t/critic.t (limited to 't/critic.t') diff --git a/t/critic.t b/t/critic.t new file mode 100644 index 000000000..6e37cc0df --- /dev/null +++ b/t/critic.t @@ -0,0 +1,17 @@ +#!/usr/bin/perl +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This Source Code Form is "Incompatible With Secondary Licenses", as +# defined by the Mozilla Public License, v. 2.0. +use 5.10.1; +use strict; +use warnings; +use lib qw(. lib local/lib/perl5); +use Test::More; + +my $ok = eval { require Test::Perl::Critic::Progressive }; +plan skip_all => 'T::P::C::Progressive required for this test' unless $ok; + +Test::Perl::Critic::Progressive::progressive_critic_ok(); \ No newline at end of file -- cgit v1.2.3-24-g4f1b