mirror of
https://github.com/dense-analysis/ale.git
synced 2026-07-29 11:16:46 +08:00
20 lines
568 B
Plaintext
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,
|
|
\}
|