From e43e7065da17f45e4cce127a319ceee0a0311883 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 20 Dec 2017 12:20:38 +0000 Subject: Fix #1115 - Add support for wrapping all commands with an option --- test/fix/test_ale_fix.vader | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/fix/test_ale_fix.vader') 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. -- cgit v1.2.3