summaryrefslogtreecommitdiffstats
path: root/python/mozlint/test/linters/invalid_exclude.lint
diff options
context:
space:
mode:
Diffstat (limited to 'python/mozlint/test/linters/invalid_exclude.lint')
-rw-r--r--python/mozlint/test/linters/invalid_exclude.lint10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/mozlint/test/linters/invalid_exclude.lint b/python/mozlint/test/linters/invalid_exclude.lint
new file mode 100644
index 000000000..be6d0045c
--- /dev/null
+++ b/python/mozlint/test/linters/invalid_exclude.lint
@@ -0,0 +1,10 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+
+LINTER = {
+ 'name': "BadExcludeLinter",
+ 'description': "Has an invalid exclude directive.",
+ 'exclude': [0, 1], # should be a list of strings
+ 'type': 'string',
+ 'payload': 'foobar',
+}