mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-23 04:21:26 +08:00
Try to fix the tests
This commit is contained in:
@@ -8,6 +8,8 @@ After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(The project root should be detected correctly using compile_commands.json file):
|
||||
call ale#test#SetFilename(tempname() . '/dummy.c')
|
||||
|
||||
AssertLSPProject ''
|
||||
|
||||
call ale#test#SetFilename('ccls_paths/with_compile_commands_json/dummy.c')
|
||||
@@ -15,6 +17,8 @@ Execute(The project root should be detected correctly using compile_commands.jso
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/ccls_paths/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')
|
||||
@@ -22,6 +26,8 @@ Execute(The project root should be detected correctly using .ccls file):
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/ccls_paths/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')
|
||||
|
||||
Reference in New Issue
Block a user