summaryrefslogtreecommitdiff
path: root/test/command_callback/test_cpp_cppcheck_command_callbacks.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-18 23:42:51 +0100
committerw0rp <devw0rp@gmail.com>2017-10-18 23:42:51 +0100
commit5292d2f3497604f526b05508d5891cf5d4b75c2b (patch)
treed845e2d451efcf6d453cf3a13585ccfeb6fbe590 /test/command_callback/test_cpp_cppcheck_command_callbacks.vader
parent81d993086eae20cd8d2871b62e8889e54cfa9187 (diff)
downloadale-5292d2f3497604f526b05508d5891cf5d4b75c2b.zip
Get more tests to pass on Windows
Diffstat (limited to 'test/command_callback/test_cpp_cppcheck_command_callbacks.vader')
-rw-r--r--test/command_callback/test_cpp_cppcheck_command_callbacks.vader2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command_callback/test_cpp_cppcheck_command_callbacks.vader b/test/command_callback/test_cpp_cppcheck_command_callbacks.vader
index 18391184..f7b37d4f 100644
--- a/test/command_callback/test_cpp_cppcheck_command_callbacks.vader
+++ b/test/command_callback/test_cpp_cppcheck_command_callbacks.vader
@@ -43,7 +43,7 @@ Execute(cppcheck for C++ should detect compile_commands.json files):
call ale#test#SetFilename('cppcheck_paths/one/foo.cpp')
AssertEqual
- \ 'cd ' . ale#Escape(g:dir . '/cppcheck_paths/one') . ' && '
+ \ 'cd ' . ale#Escape(ale#path#Winify(g:dir . '/cppcheck_paths/one')) . ' && '
\ . ale#Escape('cppcheck')
\ . ' -q --language=c++ --project=compile_commands.json --enable=style %t',
\ ale_linters#cpp#cppcheck#GetCommand(bufnr(''))