Merge pull request #2012 from paihu/fix-cdstring-win32-change-drive

Fix #2011 MS Windows, lint error when current drive and target file drive is different.
This commit is contained in:
w0rp
2018-10-25 14:24:56 +01:00
committed by w0rp
parent ceb2e8d350
commit 2dbfbe7b02
23 changed files with 83 additions and 77 deletions

View File

@@ -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#path#Simplify(g:dir . '/cppcheck_paths/one'))
\ . ale#Escape('cppcheck')
\ . ' -q --language=c --project=compile_commands.json --enable=style %t'