#711 - Make the clangtidy executable configurable

This commit is contained in:
w0rp
2017-07-17 00:07:18 +01:00
parent fe70742bb9
commit 3352a6c9df
4 changed files with 85 additions and 37 deletions

View File

@@ -266,7 +266,8 @@ Execute(The C++ ClangTidy handler should include json folders for projects with
call ale#test#SetFilename('test_c_projects/json_project/subdir/file.cpp')
AssertEqual
\ 'clang-tidy -checks=''*'' %s '
\ ale#Escape('clang-tidy')
\ . ' -checks=''*'' %s '
\ . '-p ' . ale#Escape(g:dir . '/test_c_projects/json_project/build')
\ , ale_linters#cpp#clangtidy#GetCommand(bufnr(''))