summaryrefslogtreecommitdiff
path: root/test/command_callback/test_objc_ccls_command_callbacks.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/command_callback/test_objc_ccls_command_callbacks.vader')
-rw-r--r--test/command_callback/test_objc_ccls_command_callbacks.vader22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/command_callback/test_objc_ccls_command_callbacks.vader b/test/command_callback/test_objc_ccls_command_callbacks.vader
index 34b8539e..58d824c5 100644
--- a/test/command_callback/test_objc_ccls_command_callbacks.vader
+++ b/test/command_callback/test_objc_ccls_command_callbacks.vader
@@ -13,27 +13,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.m')
+ call ale#test#SetFilename('../test-files/ccls/with_compile_commands_json/dummy.m')
- 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.m')
AssertLSPProject ''
- call ale#test#SetFilename('ccls_paths/with_ccls/dummy.m')
+ call ale#test#SetFilename('../test-files/ccls/with_ccls/dummy.m')
- 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.m')
AssertLSPProject ''
- call ale#test#SetFilename('ccls_paths/with_ccls-root/dummy.m')
+ call ale#test#SetFilename('../test-files/ccls/with_ccls-root/dummy.m')
- 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')
@@ -50,17 +50,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') }