mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-02 17:43:33 +08:00
#3633 - Put all dummy test files in test/test-files
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user