ale/test/fixers/test_yamlfmt_fixer_callback.vader
Matheus Werny 951b280bd5
yamlfmt (#4587)
* Added the fixer, wrote tests and tested it
2023-08-15 10:15:06 +01:00

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(''))