* Added the fixer, wrote tests and tested it
This commit is contained in:
Matheus Werny
2023-08-15 11:15:06 +02:00
committed by GitHub
parent 15cbc0e912
commit 951b280bd5
7 changed files with 80 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
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(''))