e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
21 lines
597 B
Text
21 lines
597 B
Text
Before:
|
|
call ale#assert#SetUpLinterTest('reason', 'ls')
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(The linter should not be run by default):
|
|
AssertLinterNotExecuted
|
|
|
|
Execute(The executable should be configurable):
|
|
let b:ale_reason_ls_executable = 'foobar'
|
|
|
|
AssertLinter 'foobar', ale#Escape('foobar')
|
|
|
|
Execute(There should be no default project root):
|
|
AssertLSPProject ''
|
|
|
|
Execute(The project root should be detected using bsconfig.json):
|
|
call ale#test#SetFilename('../test-files/reasonml/test.ml')
|
|
|
|
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/reasonml')
|