X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0ee596c5c5e11fc79598407eaf22f83d279f7e9e..5a4872f466ebd76ddd532bdf2798554421c53df4:/.vim/bundle/ale/test/linter/test_hurlfmt.vader?ds=sidebyside diff --git a/.vim/bundle/ale/test/linter/test_hurlfmt.vader b/.vim/bundle/ale/test/linter/test_hurlfmt.vader new file mode 100644 index 00000000..22a62b3c --- /dev/null +++ b/.vim/bundle/ale/test/linter/test_hurlfmt.vader @@ -0,0 +1,19 @@ +Before: + call ale#assert#SetUpLinterTest('hurl', 'hurlfmt') + call ale#test#SetFilename('dummy.hurl') + + let g:ale_ruby_hurlfmt_executable = 'hurlfmt' + let g:ale_ruby_hurlfmt_options = '' + +After: + call ale#assert#TearDownLinterTest() + +Execute(Executable should default to hurlfmt): + AssertLinter 'hurlfmt', ale#Escape('hurlfmt') + \ . ' --check --no-color ' + +Execute(Should be able to set a custom executable): + let g:ale_hurl_hurlfmt_executable = 'bin/hurlfmt' + + AssertLinter 'bin/hurlfmt' , ale#Escape('bin/hurlfmt') + \ . ' --check --no-color '