summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-11-01 01:13:14 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-01-22 14:04:26 -0300
commit4999ae2e8572d17067d06c94db3fa5adf69a497a (patch)
tree9611a3882946e9d5bea544e213533d2e17a59e17
parent4f8f2a4a0c9ee2e6b5e836a59644ae3b7e54b74d (diff)
downloadale-4999ae2e8572d17067d06c94db3fa5adf69a497a.zip
Test default linters for apkbuild
-rw-r--r--test/test_filetype_linter_defaults.vader7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_filetype_linter_defaults.vader b/test/test_filetype_linter_defaults.vader
index e9980536..d4e708ec 100644
--- a/test/test_filetype_linter_defaults.vader
+++ b/test/test_filetype_linter_defaults.vader
@@ -70,3 +70,10 @@ Execute(The defaults for the verilog filetype should be correct):
Execute(Default aliases for React should be defined):
AssertEqual ['javascript', 'jsx'], ale#linter#ResolveFiletype('javascriptreact')
AssertEqual ['typescript', 'tsx'], ale#linter#ResolveFiletype('typescriptreact')
+
+Execute(The defaults for the apkbuild filetype should be correct):
+ AssertEqual ['apkbuild_lint', 'secfixes_check'], GetLinterNames('apkbuild')
+
+ let g:ale_linters_explicit = 1
+
+ AssertEqual [], GetLinterNames('apkbuild')