summaryrefslogtreecommitdiff
path: root/test/test_nearest_file_search.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_nearest_file_search.vader')
-rw-r--r--test/test_nearest_file_search.vader4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_nearest_file_search.vader b/test/test_nearest_file_search.vader
index 10d2cb36..f5c12de4 100644
--- a/test/test_nearest_file_search.vader
+++ b/test/test_nearest_file_search.vader
@@ -5,10 +5,10 @@ After:
call ale#test#RestoreDirectory()
Execute(We should be able to find a configuration file further up):
- 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#FindNearestFile(bufnr('%'), 'example.ini')
Execute(We shouldn't find anything for files which don't match):