mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-10 06:21:53 +08:00
Try to fix the tests
This commit is contained in:
@@ -5,6 +5,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('cquery_paths/dummy.c')
|
||||
@@ -12,6 +14,8 @@ Execute(The project root should be detected correctly using compile_commands.jso
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/cquery_paths')
|
||||
|
||||
Execute(The project root should be detected correctly using .cquery file):
|
||||
call ale#test#SetFilename(tempname() . '/dummy.c')
|
||||
|
||||
AssertLSPProject ''
|
||||
|
||||
call ale#test#SetFilename('cquery_paths/with_cquery/dummy.c')
|
||||
|
||||
Reference in New Issue
Block a user