mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 23:52:22 +00:00
a099fe24b2
* purs-tidy * Dhall fixes: use stdin, docs errors
23 lines
561 B
Plaintext
23 lines
561 B
Plaintext
Before:
|
||
Save g:ale_dhall_executable
|
||
Save g:ale_dhall_options
|
||
|
||
" Use an invalid global executable, so we don’t match it.
|
||
let g:ale_dhall_executable = 'odd-dhall'
|
||
let g:ale_dhall_options = '--ascii'
|
||
let g:ale_dhall_freeze_options = '--all'
|
||
|
||
call ale#assert#SetUpFixerTest('dhall', 'dhall-freeze')
|
||
|
||
After:
|
||
call ale#assert#TearDownFixerTest()
|
||
|
||
Execute(The dhall-freeze callback should return the correct options):
|
||
AssertFixer
|
||
\ {
|
||
\ 'command': ale#Escape('odd-dhall')
|
||
\ . ' --ascii'
|
||
\ . ' freeze'
|
||
\ . ' --all'
|
||
\ }
|