X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0ee596c5c5e11fc79598407eaf22f83d279f7e9e..5a4872f466ebd76ddd532bdf2798554421c53df4:/.vim/bundle/ale/test/linter/test_pony_ponyc.vader diff --git a/.vim/bundle/ale/test/linter/test_pony_ponyc.vader b/.vim/bundle/ale/test/linter/test_pony_ponyc.vader new file mode 100644 index 00000000..18952db7 --- /dev/null +++ b/.vim/bundle/ale/test/linter/test_pony_ponyc.vader @@ -0,0 +1,14 @@ +Before: + call ale#assert#SetUpLinterTest('pony', 'ponyc') + +After: + call ale#assert#TearDownLinterTest() + +Execute(The default ponyc command should be correct): + AssertLinter 'ponyc', ale#Escape('ponyc') . ' --pass paint' + +Execute(The pony executable and options should be configurable): + let b:ale_pony_ponyc_executable = 'foobar' + let b:ale_pony_ponyc_options = '--some-option' + + AssertLinter 'foobar', ale#Escape('foobar') . ' --some-option'