mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
I am not the author of a single file, but have full permissions from the original author for permission for submitting this to ALE under the 2-Clause BSD licence. See: https://gitlab.alpinelinux.org/Leo/apkbuild.vim/-/issues/3
21 lines
671 B
Plaintext
21 lines
671 B
Plaintext
Before:
|
|
call ale#assert#SetUpFixerTest('apkbuild', 'apkbuild-fixer')
|
|
|
|
After:
|
|
call ale#assert#TearDownFixerTest()
|
|
|
|
Execute(The apkbuild-fixer callback should return the correct default values):
|
|
AssertFixer {
|
|
\ 'read_temporary_file': 1,
|
|
\ 'command': ale#Escape('apkbuild-fixer') . ' -p apkbuild-lint %t',
|
|
\}
|
|
|
|
Execute(The apkbuild-fixer callback should include custom apkbuild-fixer options):
|
|
let g:ale_apkbuild_apkbuild_fixer_executable = "another-apkbuild-fixer"
|
|
let g:ale_apkbuild_apkbuild_fixer_options = "-s"
|
|
|
|
AssertFixer {
|
|
\ 'read_temporary_file': 1,
|
|
\ 'command': ale#Escape('another-apkbuild-fixer') . ' -p apkbuild-lint -s %t'
|
|
\}
|