ale/test/fixers/test_htmlbeautifier_fixer_c...

20 lines
550 B
Plaintext
Raw Permalink Normal View History

2024-04-17 14:58:28 +00:00
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,
\}