This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/fixers/test_qmlfmt_fixer_callback.vader

13 lines
258 B
Text
Raw Permalink Normal View History

Before:
Save g:ale_qml_qmlfmt_executable
After:
Restore
Execute(The qmlfmt fixer should use the options you set):
let g:ale_qml_qmlfmt_executable = 'foo-exe'
AssertEqual
\ {'command': ale#Escape('foo-exe')},
\ ale#fixers#qmlfmt#Fix(bufnr(''))