Fix the Windows tests
This commit is contained in:
parent
73d8c3b80a
commit
41178425ab
1 changed files with 3 additions and 3 deletions
|
@ -6,14 +6,14 @@ After:
|
||||||
|
|
||||||
Execute(The default command should be correct):
|
Execute(The default command should be correct):
|
||||||
AssertLinter 'gawk',
|
AssertLinter 'gawk',
|
||||||
\ ale#Escape('gawk') . ' --source ''BEGIN { exit } END { exit 1 }'''
|
\ ale#Escape('gawk') . ' --source ' . ale#Escape('BEGIN { exit } END { exit 1 }')
|
||||||
\ . ' -f %t --lint /dev/null'
|
\ . ' -f %t --lint /dev/null'
|
||||||
|
|
||||||
Execute(The executable should be configurable):
|
Execute(The executable should be configurable):
|
||||||
let b:ale_awk_gawk_executable = '/other/gawk'
|
let b:ale_awk_gawk_executable = '/other/gawk'
|
||||||
|
|
||||||
AssertLinter '/other/gawk',
|
AssertLinter '/other/gawk',
|
||||||
\ ale#Escape('/other/gawk') . ' --source ''BEGIN { exit } END { exit 1 }'''
|
\ ale#Escape('/other/gawk') . ' --source ' . ale#Escape('BEGIN { exit } END { exit 1 }')
|
||||||
\ . ' -f %t --lint /dev/null'
|
\ . ' -f %t --lint /dev/null'
|
||||||
|
|
||||||
Execute(The options should be configurable):
|
Execute(The options should be configurable):
|
||||||
|
@ -21,5 +21,5 @@ Execute(The options should be configurable):
|
||||||
let b:ale_awk_gawk_options = '--something'
|
let b:ale_awk_gawk_options = '--something'
|
||||||
|
|
||||||
AssertLinter 'gawk',
|
AssertLinter 'gawk',
|
||||||
\ ale#Escape('gawk') . ' --source ''BEGIN { exit } END { exit 1 }'''
|
\ ale#Escape('gawk') . ' --source ' . ale#Escape('BEGIN { exit } END { exit 1 }')
|
||||||
\ . ' --something -f %t --lint /dev/null'
|
\ . ' --something -f %t --lint /dev/null'
|
||||||
|
|
Reference in a new issue