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