blob: 47e3ddeedd6de33d5091e0490163d294f856d8df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Before:
call ale#assert#SetUpFixerTest('zig', 'zigfmt')
After:
call ale#assert#TearDownFixerTest()
Execute(The zig callback should return the correct default values):
AssertFixer {
\ 'command': ale#Escape('zig') . ' fmt %t',
\ 'read_temporary_file': 1,
\}
Execute(The zig callback should allow custom zig executables):
let g:ale_zig_zigfmt_executable = 'foo/bar'
AssertFixer {
\ 'command': ale#Escape('foo/bar') . ' fmt %t',
\ 'read_temporary_file': 1,
\}
|