summaryrefslogtreecommitdiff
path: root/test/command_callback/test_shellcheck_command_callback.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_shellcheck_command_callback.vader')
-rw-r--r--test/command_callback/test_shellcheck_command_callback.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command_callback/test_shellcheck_command_callback.vader b/test/command_callback/test_shellcheck_command_callback.vader
index 1d5b056b..9fb5303a 100644
--- a/test/command_callback/test_shellcheck_command_callback.vader
+++ b/test/command_callback/test_shellcheck_command_callback.vader
@@ -2,7 +2,7 @@ Before:
call ale#assert#SetUpLinterTest('sh', 'shellcheck')
call ale#test#SetFilename('test.sh')
- let b:prefix = ale#path#CdString(ale#path#Simplify(g:dir))
+ let b:prefix = ale#path#BufferCdString(bufnr(''))
let b:suffix = ' -f gcc -'
After: