summaryrefslogtreecommitdiff
path: root/test/command_callback/test_c_cppcheck_command_callbacks.vader
diff options
context:
space:
mode:
authorpaihu <paihu@users.noreply.github.com>2018-10-22 22:59:06 +0900
committerpaihu <paihu@users.noreply.github.com>2018-10-22 22:59:06 +0900
commit2ea83939a5978fbe5f709b7a1ab0212e4a0fae45 (patch)
treea36337505126e553732f5cefbc35d2916700767c /test/command_callback/test_c_cppcheck_command_callbacks.vader
parent0261dd2f51ef0a24719a8fc1464a600f2cce4670 (diff)
downloadale-2ea83939a5978fbe5f709b7a1ab0212e4a0fae45.zip
fix testcase
Diffstat (limited to 'test/command_callback/test_c_cppcheck_command_callbacks.vader')
-rw-r--r--test/command_callback/test_c_cppcheck_command_callbacks.vader2
1 files changed, 1 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 3fc87a79..617cfa58 100644
--- a/test/command_callback/test_c_cppcheck_command_callbacks.vader
+++ b/test/command_callback/test_c_cppcheck_command_callbacks.vader
@@ -19,6 +19,6 @@ Execute(cppcheck for C++ should detect compile_commands.json files):
call ale#test#SetFilename('cppcheck_paths/one/foo.cpp')
AssertLinter 'cppcheck',
- \ 'cd ' . ale#Escape(ale#path#Simplify(g:dir . '/cppcheck_paths/one')) . ' && '
+ \ ale#path#CdString(ale#Escape(ale#path#Simplify(g:dir . '/cppcheck_paths/one')))
\ . ale#Escape('cppcheck')
\ . ' -q --language=c --project=compile_commands.json --enable=style %t'