Fix the Windows tests

This commit is contained in:
w0rp 2018-08-03 01:00:39 +01:00
parent 73d8c3b80a
commit 41178425ab
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
1 changed files with 3 additions and 3 deletions

View File

@ -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'