summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/linter/test_gawk.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/linter/test_gawk.vader b/test/linter/test_gawk.vader
index ba9f59ab..f4364291 100644
--- a/test/linter/test_gawk.vader
+++ b/test/linter/test_gawk.vader
@@ -7,19 +7,19 @@ After:
Execute(The default command should be correct):
AssertLinter 'gawk',
\ ale#Escape('gawk') . ' --source ' . ale#Escape('BEGIN { exit } END { exit 1 }')
- \ . ' -f %t --lint /dev/null'
+ \ . ' --lint -f %t /dev/null'
Execute(The executable should be configurable):
let b:ale_awk_gawk_executable = '/other/gawk'
AssertLinter '/other/gawk',
\ ale#Escape('/other/gawk') . ' --source ' . ale#Escape('BEGIN { exit } END { exit 1 }')
- \ . ' -f %t --lint /dev/null'
+ \ . ' --lint -f %t /dev/null'
Execute(The options should be configurable):
let b:ale_awk_gawk_executable = 'gawk'
- let b:ale_awk_gawk_options = '--something'
+ let b:ale_awk_gawk_options = '--lint=no-ext'
AssertLinter 'gawk',
\ ale#Escape('gawk') . ' --source ' . ale#Escape('BEGIN { exit } END { exit 1 }')
- \ . ' --something -f %t --lint /dev/null'
+ \ . ' --lint --lint=no-ext -f %t /dev/null'