Build all packages removed dependencies of libtest-exception-perl libtest-warn-perl...
[dh-make-perl] / dev / i386 / libperl-critic-perl / libperl-critic-perl-1.088 / t / 01_bad_perlcriticrc
diff --git a/dev/i386/libperl-critic-perl/libperl-critic-perl-1.088/t/01_bad_perlcriticrc b/dev/i386/libperl-critic-perl/libperl-critic-perl-1.088/t/01_bad_perlcriticrc
new file mode 100644 (file)
index 0000000..c5b4e10
--- /dev/null
@@ -0,0 +1,29 @@
+# Test that all the problems in an rc file get reported and not just the first
+# one that is found.
+
+# Purposely bad values
+severity = 6
+theme = &&
+include = *
+exclude = *
+single-policy = *
+profile-strictness = silly
+top = -1
+verbose = 2095
+
+# Test non-existent parameter
+[BuiltinFunctions::RequireBlockGrep]
+no_such_parameter = foo
+
+# Test invalid parameter value
+[Documentation::RequirePodSections]
+source = Zen_and_the_Art_of_Motorcycle_Maintenance
+
+# Local Variables:
+#   mode: cperl
+#   cperl-indent-level: 4
+#   fill-column: 78
+#   indent-tabs-mode: nil
+#   c-indentation-style: bsd
+# End:
+# ex: set ts=8 sts=4 sw=4 tw=78 ft=conf expandtab shiftround :