diff options
Diffstat (limited to 'test/command_callback/test_c_ccls_command_callbacks.vader')
-rw-r--r-- | test/command_callback/test_c_ccls_command_callbacks.vader | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/command_callback/test_c_ccls_command_callbacks.vader b/test/command_callback/test_c_ccls_command_callbacks.vader index 04643d02..a4f575c6 100644 --- a/test/command_callback/test_c_ccls_command_callbacks.vader +++ b/test/command_callback/test_c_ccls_command_callbacks.vader @@ -16,27 +16,27 @@ Execute(The project root should be detected correctly using compile_commands.jso AssertLSPProject '' - call ale#test#SetFilename('ccls_paths/with_compile_commands_json/dummy.c') + call ale#test#SetFilename('../test-files/ccls/with_compile_commands_json/dummy.c') - AssertLSPProject ale#path#Simplify(g:dir . '/ccls_paths/with_compile_commands_json') + AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/ccls/with_compile_commands_json') Execute(The project root should be detected correctly using .ccls file): call ale#test#SetFilename(tempname() . '/dummy.c') AssertLSPProject '' - call ale#test#SetFilename('ccls_paths/with_ccls/dummy.c') + call ale#test#SetFilename('../test-files/ccls/with_ccls/dummy.c') - AssertLSPProject ale#path#Simplify(g:dir . '/ccls_paths/with_ccls') + AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/ccls/with_ccls') Execute(The project root should be detected correctly using .ccls-root file): call ale#test#SetFilename(tempname() . '/dummy.c') AssertLSPProject '' - call ale#test#SetFilename('ccls_paths/with_ccls-root/dummy.c') + call ale#test#SetFilename('../test-files/ccls/with_ccls-root/dummy.c') - AssertLSPProject ale#path#Simplify(g:dir . '/ccls_paths/with_ccls-root') + AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/ccls/with_ccls-root') Execute(The executable should be configurable): AssertLinter 'ccls', ale#Escape('ccls') @@ -53,17 +53,17 @@ Execute(The initialization options should be configurable): AssertLSPOptions { 'cacheDirectory': '/tmp/ccls' } Execute(The compile command database should be detected correctly): - call ale#test#SetFilename('ccls_paths/with_ccls/dummy.c') + call ale#test#SetFilename('../test-files/ccls/with_ccls/dummy.c') AssertLSPOptions {} - call ale#test#SetFilename('ccls_paths/with_compile_commands_json/dummy.c') + call ale#test#SetFilename('../test-files/ccls/with_compile_commands_json/dummy.c') AssertLSPOptions { 'compilationDatabaseDirectory': - \ ale#path#Simplify(g:dir . '/ccls_paths/with_compile_commands_json') } + \ ale#path#Simplify(g:dir . '/../test-files/ccls/with_compile_commands_json') } - call ale#test#SetFilename('ccls_paths/with_build_dir/dummy.c') + call ale#test#SetFilename('../test-files/ccls/with_build_dir/dummy.c') let b:ale_c_build_dir_names = ['unusual_build_dir_name'] AssertLSPOptions { 'compilationDatabaseDirectory': - \ ale#path#Simplify(g:dir . '/ccls_paths/with_build_dir/unusual_build_dir_name') } + \ ale#path#Simplify(g:dir . '/../test-files/ccls/with_build_dir/unusual_build_dir_name') } |