This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/test/fixers/test_html_beautify_fixer_callback.vader

17 lines
428 B
Text
Raw Normal View History

Before:
2019-10-28 13:45:25 +00:00
call ale#assert#SetUpFixerTest('html', 'html-beautify', 'beautify')
call ale#test#SetDirectory('/testplugin/test/fixers')
silent cd ..
silent cd command_callback
After:
Restore
2019-10-28 13:45:25 +00:00
call ale#assert#TearDownFixerTest()
Execute(The html-beautify callback should return the correct default command):
AssertEqual
2019-11-07 15:51:55 +00:00
\ {'command': ale#Escape('html-beautify') . ' -'},
\ ale#fixers#html_beautify#Fix(bufnr(''))