summaryrefslogtreecommitdiff
path: root/test/fix
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-12-20 12:20:38 +0000
committerw0rp <devw0rp@gmail.com>2017-12-20 12:20:38 +0000
commite43e7065da17f45e4cce127a319ceee0a0311883 (patch)
tree2ab29efb8171921872a0b36fab116ea9ce1f1cfb /test/fix
parent2495744fc31e0041cc4ed6b7b6fdc1b1a15ffb62 (diff)
downloadale-e43e7065da17f45e4cce127a319ceee0a0311883.zip
Fix #1115 - Add support for wrapping all commands with an option
Diffstat (limited to 'test/fix')
-rw-r--r--test/fix/test_ale_fix.vader6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fix/test_ale_fix.vader b/test/fix/test_ale_fix.vader
index fa1101eb..817c243d 100644
--- a/test/fix/test_ale_fix.vader
+++ b/test/fix/test_ale_fix.vader
@@ -581,8 +581,8 @@ Execute(Test fixing with chained callbacks):
" The buffer shouldn't be piped in for earlier commands in the chain.
AssertEqual
\ [
- \ string(ale#job#PrepareCommand('echo echoline')),
- \ string(ale#job#PrepareCommand('echo echoline')),
+ \ string(ale#job#PrepareCommand(bufnr(''), 'echo echoline')),
+ \ string(ale#job#PrepareCommand(bufnr(''), 'echo echoline')),
\ ],
\ map(ale#history#Get(bufnr(''))[-2:-1], 'string(v:val.command)')
@@ -635,7 +635,7 @@ Execute(A temporary file shouldn't be piped into the command when disabled):
ALEFix
AssertEqual
- \ string(ale#job#PrepareCommand('echo new line')),
+ \ string(ale#job#PrepareCommand(bufnr(''), 'echo new line')),
\ string(ale#history#Get(bufnr(''))[-1].command)
" Remove trailing whitespace for Windows.