Try to fix the tests

This commit is contained in:
w0rp
2019-05-20 20:06:44 +01:00
parent 143af2b9fd
commit 937138dad4
7 changed files with 30 additions and 2 deletions

View File

@@ -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.cpp')
AssertLSPProject ''
call ale#test#SetFilename('cquery_paths/dummy.cpp')
@@ -15,6 +17,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.cpp')
AssertLSPProject ''
call ale#test#SetFilename('cquery_paths/with_cquery/dummy.cpp')