summaryrefslogtreecommitdiff
path: root/test/command_callback
diff options
context:
space:
mode:
authorFrancisco Lopes <francisco@oblita.com>2019-03-11 04:07:58 -0300
committerFrancisco Lopes <francisco@oblita.com>2019-03-11 04:42:25 -0300
commitd9a12348d09cf6d845c554051f3e30a17cf71b25 (patch)
treec39183796c64c885eaf7b3c51c4f95e906e5ed91 /test/command_callback
parent03384a5d6f966b28efa136056e8b7b1b4f1c3d89 (diff)
downloadale-d9a12348d09cf6d845c554051f3e30a17cf71b25.zip
Fix passing file to languagetool
Diffstat (limited to 'test/command_callback')
-rw-r--r--test/command_callback/test_languagetool_command_callback.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/command_callback/test_languagetool_command_callback.vader b/test/command_callback/test_languagetool_command_callback.vader
index 1b5f0e00..a79662b9 100644
--- a/test/command_callback/test_languagetool_command_callback.vader
+++ b/test/command_callback/test_languagetool_command_callback.vader
@@ -6,10 +6,10 @@ After:
Execute(The default command should be correct):
AssertLinter 'languagetool', ale#Escape('languagetool')
- \ . ' --autoDetect '
+ \ . ' --autoDetect %s'
Execute(Should be able to set a custom executable):
let g:ale_languagetool_executable = 'foobar'
AssertLinter 'foobar' , ale#Escape('foobar')
- \ . ' --autoDetect '
+ \ . ' --autoDetect %s'