diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-01-12 12:09:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-12 12:09:30 +0000 |
commit | 5005871644e102120eee922718379cd992dfbfdf (patch) | |
tree | a957a60a4547e6ab99f763bf12d8ed868710870f /test | |
parent | 65fa901ef0c15a2cd8c17642b0c5f0108ed93585 (diff) | |
parent | 68d4a2216ca8edb7396f88352cfe807fa771ca7e (diff) | |
download | ale-5005871644e102120eee922718379cd992dfbfdf.zip |
Merge pull request #1256 from jonatanolofsson/master
Fix #1255: Move extra clang-check args to before user options
Diffstat (limited to 'test')
-rw-r--r-- | test/command_callback/test_cpp_clangcheck_command_callbacks.vader | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/command_callback/test_cpp_clangcheck_command_callbacks.vader b/test/command_callback/test_cpp_clangcheck_command_callbacks.vader index 34b87fc6..f708c52d 100644 --- a/test/command_callback/test_cpp_clangcheck_command_callbacks.vader +++ b/test/command_callback/test_cpp_clangcheck_command_callbacks.vader @@ -28,7 +28,7 @@ Execute(The executable should be used in the command): AssertEqual \ ale#Escape('clang-check') \ . ' -analyze %s' - \ . ' -extra-arg -Xanalyzer -extra-arg -analyzer-output=text', + \ . ' -extra-arg -Xclang -extra-arg -analyzer-output=text', \ ale_linters#cpp#clangcheck#GetCommand(bufnr('')) let b:ale_cpp_clangcheck_executable = 'foobar' @@ -38,7 +38,7 @@ Execute(The executable should be used in the command): AssertEqual \ ale#Escape('foobar') \ . ' -analyze %s' - \ . ' -extra-arg -Xanalyzer -extra-arg -analyzer-output=text', + \ . ' -extra-arg -Xclang -extra-arg -analyzer-output=text', \ ale_linters#cpp#clangcheck#GetCommand(bufnr('')) Execute(The options should be configurable): @@ -46,8 +46,9 @@ Execute(The options should be configurable): AssertEqual \ ale#Escape('clang-check') - \ . ' -analyze %s --something' - \ . ' -extra-arg -Xanalyzer -extra-arg -analyzer-output=text', + \ . ' -analyze %s' + \ . ' -extra-arg -Xclang -extra-arg -analyzer-output=text' + \ . ' --something', \ ale_linters#cpp#clangcheck#GetCommand(bufnr('')) Execute(The build directory should be used when set): |