Files
ale/test/fixers/test_janet_format_fixer_callback.vader
T

20 lines
568 B
Plaintext

Before:
call ale#assert#SetUpFixerTest('janet', 'janet-format')
After:
call ale#assert#TearDownFixerTest()
Execute(The janet-format callback should return the correct default values):
AssertFixer {
\ 'command': ale#Escape('janet-format') . ' %t',
\ 'read_temporary_file': 1,
\}
Execute(The janet-format callback should allow a custom executable):
let g:ale_janet_janet_format_executable = '/custom/path/to/janet-format'
AssertFixer {
\ 'command': ale#Escape('/custom/path/to/janet-format') . ' %t',
\ 'read_temporary_file': 1,
\}