summaryrefslogtreecommitdiff
path: root/test/fixers/test_qmlfmt_fixer_callback.vader
blob: e216f2e1c35ed90d96938021ed2f000d46cf077e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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(''))