mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-21 02:22:13 +08:00
Add fixer "css-beautify". Adjust "html-beautify." (#4319)
* Add fixer "css-beautify". Adjust "html-beautify." * Error fixes. * Added chars.
This commit is contained in:
committed by
GitHub
parent
7dd13afc6c
commit
a33960eb51
12
test/fixers/test_css_beautify_fixer_callback.vader
Normal file
12
test/fixers/test_css_beautify_fixer_callback.vader
Normal file
@@ -0,0 +1,12 @@
|
||||
Before:
|
||||
call ale#assert#SetUpFixerTest('css', 'css-beautify', 'beautify')
|
||||
|
||||
After:
|
||||
Restore
|
||||
|
||||
call ale#assert#TearDownFixerTest()
|
||||
|
||||
Execute(The css-beautify callback should return the correct default command):
|
||||
AssertEqual
|
||||
\ {'command': ale#Escape('css-beautify') . ' -'},
|
||||
\ ale#fixers#css_beautify#Fix(bufnr(''))
|
||||
Reference in New Issue
Block a user