mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Add htmlbeautifier support (#4751)
This commit is contained in:
19
test/fixers/test_htmlbeautifier_fixer_callback.vader
Normal file
19
test/fixers/test_htmlbeautifier_fixer_callback.vader
Normal file
@@ -0,0 +1,19 @@
|
||||
Before:
|
||||
call ale#assert#SetUpFixerTest('eruby', 'htmlbeautifier')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownFixerTest()
|
||||
|
||||
Execute(The htmlbeautifier callback should return the correct default values):
|
||||
AssertFixer {
|
||||
\ 'command': ale#Escape('htmlbeautifier') . ' %t',
|
||||
\ 'read_temporary_file': 1,
|
||||
\}
|
||||
|
||||
Execute(The htmlbeautifier callback should allow custom htmlbeautifier executables):
|
||||
let g:ale_eruby_htmlbeautifier_executable = 'foo/bar'
|
||||
|
||||
AssertFixer {
|
||||
\ 'command': ale#Escape('foo/bar') . ' %t',
|
||||
\ 'read_temporary_file': 1,
|
||||
\}
|
||||
Reference in New Issue
Block a user