X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0ee596c5c5e11fc79598407eaf22f83d279f7e9e..5a4872f466ebd76ddd532bdf2798554421c53df4:/.vim/bundle/ale/test/linter/test_nix_statix.vader diff --git a/.vim/bundle/ale/test/linter/test_nix_statix.vader b/.vim/bundle/ale/test/linter/test_nix_statix.vader new file mode 100644 index 00000000..a6a389d5 --- /dev/null +++ b/.vim/bundle/ale/test/linter/test_nix_statix.vader @@ -0,0 +1,14 @@ +Before: + call ale#assert#SetUpLinterTest('nix', 'statix') + +After: + call ale#assert#TearDownLinterTest() + +Execute(The default statix command should be correct): + AssertLinter 'statix', ale#Escape('statix') . ' check -o errfmt --stdin' + +Execute(The statix executable and options should be configurable): + let g:ale_nix_statix_check_executable = 'foo' + let g:ale_nix_statix_check_options = '--foobar' + + AssertLinter 'foo', ale#Escape('foo') . ' check -o errfmt --stdin --foobar'