1
0
Fork 0
mirror of synced 2024-07-02 13:31:09 -04:00
ultimate-vim/sources_non_forked/ale/test/fixers/test_statix_fixer.vader

19 lines
590 B
Plaintext
Raw Normal View History

2022-05-19 09:16:38 -04:00
Before:
call ale#assert#SetUpFixerTest('nix', 'statix')
After:
call ale#assert#TearDownFixerTest()
Execute(The callback should return the correct default values):
AssertFixer { 'command': ale#Escape('statix') . ' fix --stdin' }
Execute(The callback should include a custom runtime):
let g:ale_nix_statix_fix_executable = 'foo/bar'
AssertFixer { 'command': ale#Escape('foo/bar') . ' fix --stdin' }
Execute(The callback should include custom options):
let g:ale_nix_statix_fix_options = '--foobar'
AssertFixer { 'command': ale#Escape('statix') . ' fix --stdin --foobar' }