ale/test/fixers/test_html_beautify_fixer_callback.vader
2019-11-07 15:52:03 +00:00

17 lines
428 B
Plaintext

Before:
call ale#assert#SetUpFixerTest('html', 'html-beautify', 'beautify')
call ale#test#SetDirectory('/testplugin/test/fixers')
silent cd ..
silent cd command_callback
After:
Restore
call ale#assert#TearDownFixerTest()
Execute(The html-beautify callback should return the correct default command):
AssertEqual
\ {'command': ale#Escape('html-beautify') . ' -'},
\ ale#fixers#html_beautify#Fix(bufnr(''))