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