2019-10-28 13:25:36 +00:00
|
|
|
Before:
|
2019-10-28 13:45:25 +00:00
|
|
|
call ale#assert#SetUpFixerTest('html', 'html-beautify', 'beautify')
|
2019-10-28 13:25:36 +00:00
|
|
|
|
|
|
|
After:
|
|
|
|
Restore
|
|
|
|
|
2019-10-28 13:45:25 +00:00
|
|
|
call ale#assert#TearDownFixerTest()
|
2019-10-28 13:25:36 +00:00
|
|
|
|
|
|
|
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') . ' -'},
|
2019-10-28 13:25:36 +00:00
|
|
|
\ ale#fixers#html_beautify#Fix(bufnr(''))
|