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

No files matched your search

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