X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0ee596c5c5e11fc79598407eaf22f83d279f7e9e..5a4872f466ebd76ddd532bdf2798554421c53df4:/.vim/bundle/ale/test/linter/test_zig_zlint.vader diff --git a/.vim/bundle/ale/test/linter/test_zig_zlint.vader b/.vim/bundle/ale/test/linter/test_zig_zlint.vader new file mode 100644 index 00000000..d36e9af2 --- /dev/null +++ b/.vim/bundle/ale/test/linter/test_zig_zlint.vader @@ -0,0 +1,15 @@ +Before: + call ale#assert#SetUpLinterTest('zig', 'zlint') + +After: + call ale#assert#TearDownLinterTest() + +Execute(The zlint executable and command should be configured correctly): + AssertLinter 'zlint', ale#Escape('zlint') . ' %s -f gh' + + " Set a custom executable path + let g:ale_zig_zlint_executable = '/custom/path/to/zlint' + + AssertLinter + \ '/custom/path/to/zlint', + \ ale#Escape('/custom/path/to/zlint') . ' %s -f gh'