#3633 - Put all dummy test files in test/test-files

This commit is contained in:
w0rp
2021-03-20 22:11:22 +00:00
parent 3838ae118d
commit b1d833417b
581 changed files with 1027 additions and 1123 deletions

View File

@@ -12,18 +12,18 @@ Execute(The project root should be detected correctly using compile_commands.jso
AssertLSPProject ''
call ale#test#SetFilename('cquery_paths/dummy.cpp')
call ale#test#SetFilename('../test-files/cquery/dummy.cpp')
AssertLSPProject ale#path#Simplify(g:dir . '/cquery_paths')
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/cquery')
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')
call ale#test#SetFilename('../test-files/cquery/with_cquery/dummy.cpp')
AssertLSPProject ale#path#Simplify(g:dir . '/cquery_paths/with_cquery')
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/cquery/with_cquery')
Execute(The executable should be configurable):
AssertLinter 'cquery', ale#Escape('cquery')