#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

@@ -5,10 +5,10 @@ After:
call ale#test#RestoreDirectory()
Execute(We should be able to find the local version of a file):
call ale#test#SetFilename('top/middle/bottom/dummy.txt')
call ale#test#SetFilename('test-files/top/middle/bottom/dummy.txt')
AssertEqual
\ ale#path#Simplify(expand('%:p:h:h:h:h') . '/top/example.ini'),
\ ale#path#Simplify(expand('%:p:h:h:h:h:h') . '/test-files/top/example.ini'),
\ ale#path#ResolveLocalPath(bufnr('%'), 'example.ini', '/global/config.ini')
Execute(We shouldn't find anything for files which don't match):