summaryrefslogtreecommitdiff
path: root/test/command_callback/test_c_cppcheck_command_callbacks.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_c_cppcheck_command_callbacks.vader')
-rw-r--r--test/command_callback/test_c_cppcheck_command_callbacks.vader4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/command_callback/test_c_cppcheck_command_callbacks.vader b/test/command_callback/test_c_cppcheck_command_callbacks.vader
index 7f1a7c2f..3d487a31 100644
--- a/test/command_callback/test_c_cppcheck_command_callbacks.vader
+++ b/test/command_callback/test_c_cppcheck_command_callbacks.vader
@@ -27,7 +27,9 @@ Execute(cppcheck for C should detect compile_commands.json files):
AssertLinter 'cppcheck',
\ ale#path#CdString(ale#path#Simplify(g:dir . '/cppcheck_paths/one'))
\ . ale#Escape('cppcheck')
- \ . ' -q --language=c --project=''compile_commands.json'' --enable=style %t'
+ \ . ' -q --language=c'
+ \ . ' --project=' . ale#Escape('compile_commands.json')
+ \ . ' --enable=style %t'
Execute(cppcheck for C should detect compile_commands.json files in build directories):
call ale#test#SetFilename('cppcheck_paths/with_build_dir/foo.cpp')