ensure that gross code will not creep in
[p5sagit/Log-Contextual.git] / t / perltidy.t
diff --git a/t/perltidy.t b/t/perltidy.t
new file mode 100644 (file)
index 0000000..007afee
--- /dev/null
@@ -0,0 +1,19 @@
+#!perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+plan skip_all => 'Set TIDY_TESTING if you want to run this test'
+  unless $ENV{TIDY_TESTING};
+
+require Test::PerlTidy;
+
+Test::PerlTidy::run_tests(
+   path       => '.',
+   perltidyrc => '.perltidyrc',
+   exclude    => ['inc/'],
+);
+
+done_testing;