From 2ea83939a5978fbe5f709b7a1ab0212e4a0fae45 Mon Sep 17 00:00:00 2001 From: paihu Date: Mon, 22 Oct 2018 22:59:06 +0900 Subject: fix testcase --- test/command_callback/test_cpp_cppcheck_command_callbacks.vader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/command_callback/test_cpp_cppcheck_command_callbacks.vader') diff --git a/test/command_callback/test_cpp_cppcheck_command_callbacks.vader b/test/command_callback/test_cpp_cppcheck_command_callbacks.vader index 3a7ada2c..b887b665 100644 --- a/test/command_callback/test_cpp_cppcheck_command_callbacks.vader +++ b/test/command_callback/test_cpp_cppcheck_command_callbacks.vader @@ -17,6 +17,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' -- cgit v1.2.3 From f4395f5b8cb0078536e6033ca9c86e7299ed3ba1 Mon Sep 17 00:00:00 2001 From: paihu Date: Tue, 23 Oct 2018 23:20:27 +0900 Subject: ale#path#CdString include ale#Escape --- test/command_callback/test_cpp_cppcheck_command_callbacks.vader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/command_callback/test_cpp_cppcheck_command_callbacks.vader') diff --git a/test/command_callback/test_cpp_cppcheck_command_callbacks.vader b/test/command_callback/test_cpp_cppcheck_command_callbacks.vader index b887b665..352c88d5 100644 --- a/test/command_callback/test_cpp_cppcheck_command_callbacks.vader +++ b/test/command_callback/test_cpp_cppcheck_command_callbacks.vader @@ -17,6 +17,6 @@ Execute(cppcheck for C++ should detect compile_commands.json files): call ale#test#SetFilename('cppcheck_paths/one/foo.cpp') AssertLinter 'cppcheck', - \ ale#path#CdString(ale#Escape(ale#path#Simplify(g:dir . '/cppcheck_paths/one'))) + \ ale#path#CdString(ale#path#Simplify(g:dir . '/cppcheck_paths/one')) \ . ale#Escape('cppcheck') \ . ' -q --language=c++ --project=compile_commands.json --enable=style %t' -- cgit v1.2.3