mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 05:24:46 +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.m')
|
||||
|
||||
AssertLSPProject ''
|
||||
|
||||
call ale#test#SetFilename('ccls_paths/with_compile_commands_json/dummy.m')
|
||||
@@ -12,6 +14,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.m')
|
||||
|
||||
AssertLSPProject ''
|
||||
|
||||
call ale#test#SetFilename('ccls_paths/with_ccls/dummy.m')
|
||||
@@ -19,6 +23,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.m')
|
||||
|
||||
AssertLSPProject ''
|
||||
|
||||
call ale#test#SetFilename('ccls_paths/with_ccls-root/dummy.m')
|
||||
|
||||
Reference in New Issue
Block a user