mirror of https://github.com/dense-analysis/ale
13 lines
293 B
Plaintext
13 lines
293 B
Plaintext
|
Before:
|
||
|
call ale#assert#SetUpFixerTest('yaml', 'yamlfmt')
|
||
|
|
||
|
After:
|
||
|
Restore
|
||
|
|
||
|
call ale#assert#TearDownFixerTest()
|
||
|
|
||
|
Execute(The yamlfmt callback should return the correct default command):
|
||
|
AssertEqual
|
||
|
\ {'command': ale#Escape('yamlfmt') . ' -in'},
|
||
|
\ ale#fixers#yamlfmt#Fix(bufnr(''))
|