2018-04-05 19:09:41 +00:00
|
|
|
Before:
|
2018-07-15 17:24:53 +00:00
|
|
|
call ale#assert#SetUpLinterTest('qml', 'qmlfmt')
|
2018-04-05 19:09:41 +00:00
|
|
|
|
|
|
|
After:
|
2018-07-15 17:24:53 +00:00
|
|
|
call ale#assert#TearDownLinterTest()
|
2018-04-05 19:09:41 +00:00
|
|
|
|
|
|
|
Execute(The qml qmlfmt command callback should return the correct default string):
|
2018-07-15 17:24:53 +00:00
|
|
|
AssertLinter 'qmlfmt', ale#Escape('qmlfmt') . ' -e',
|
2018-04-05 19:09:41 +00:00
|
|
|
|
|
|
|
Execute(The qmlfmt executable should be configurable):
|
|
|
|
let g:ale_qml_qmlfmt_executable = '~/.local/bin/qmlfmt'
|
|
|
|
|
2018-07-15 17:24:53 +00:00
|
|
|
AssertLinter '~/.local/bin/qmlfmt', ale#Escape('~/.local/bin/qmlfmt') . ' -e'
|