summaryrefslogtreecommitdiff
path: root/test/test_nearest_file_search.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2021-03-20 22:11:22 +0000
committerw0rp <devw0rp@gmail.com>2021-03-20 22:11:42 +0000
commitb1d833417bcb57e265e0d01df07b28f463529d4b (patch)
tree11421aeca89127b0cc9417f8ff4cb0d725199f49 /test/test_nearest_file_search.vader
parent3838ae118d8f05fa1b1be7952a1c8aa3055d6728 (diff)
downloadale-b1d833417bcb57e265e0d01df07b28f463529d4b.zip
#3633 - Put all dummy test files in test/test-files
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):