X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0ee596c5c5e11fc79598407eaf22f83d279f7e9e..5a4872f466ebd76ddd532bdf2798554421c53df4:/.vim/bundle/ale/test/linter/test_thriftcheck.vader?ds=sidebyside diff --git a/.vim/bundle/ale/test/linter/test_thriftcheck.vader b/.vim/bundle/ale/test/linter/test_thriftcheck.vader new file mode 100644 index 00000000..bf2bbab4 --- /dev/null +++ b/.vim/bundle/ale/test/linter/test_thriftcheck.vader @@ -0,0 +1,16 @@ +Before: + call ale#assert#SetUpLinterTest('thrift', 'thriftcheck') + +After: + call ale#assert#TearDownLinterTest() + +Execute(The default command should be correct): + AssertLinter 'thriftcheck', ale#Escape('thriftcheck') + \ . ' --stdin-filename %s %t' + +Execute(The executable and options should be configurable): + let b:ale_thrift_thriftcheck_executable = 'foobar' + let b:ale_thrift_thriftcheck_options = '--errors-only' + + AssertLinter 'foobar', ale#Escape('foobar') + \ . ' --errors-only --stdin-filename %s %t'