From 9ade65666121b0889d774bdea3b4ce2e176ff915 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 23 Jul 2018 22:22:19 +0100 Subject: [PATCH] Just remove the .git directory test for now --- test/test_c_import_paths.vader | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/test/test_c_import_paths.vader b/test/test_c_import_paths.vader index fda1ec1e..0490dec6 100644 --- a/test/test_c_import_paths.vader +++ b/test/test_c_import_paths.vader @@ -240,25 +240,6 @@ Execute(The C++ Clang handler should include root directories for projects with \ . ' -' \ , ale_linters#cpp#clang#GetCommand(bufnr(''), []) -Execute(The C++ Clang handler shoud use the include directory based on the .git location): - " Don't run this test on Windows. I can't be bothered fixing it. - if !has('win32') - runtime! ale_linters/cpp/clang.vim - - " Restore the .git/HEAD check for just this test. - let g:__ale_c_project_filenames = g:original_project_filenames - - call ale#test#SetFilename('test_c_projects/git_and_nested_makefiles/src/file.cpp') - - AssertEqual - \ ale#Escape('clang++') - \ . ' -S -x c++ -fsyntax-only ' - \ . '-iquote ' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/git_and_nested_makefiles/src')) . ' ' - \ . ' -I' . ale#Escape(ale#path#Simplify(g:dir . '/test_c_projects/git_and_nested_makefiles/include')) . ' ' - \ . ' -' - \ , ale_linters#cpp#clang#GetCommand(bufnr(''), []) - endif - Execute(The C++ ClangTidy handler should include json folders for projects with suitable build directory in them): runtime! ale_linters/cpp/clangtidy.vim