mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 23:52:22 +00:00
951b280bd5
* Added the fixer, wrote tests and tested it
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(''))
|