summaryrefslogtreecommitdiff
path: root/test/test_resolve_local_path.vader
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_resolve_local_path.vader')
-rw-r--r--test/test_resolve_local_path.vader6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_resolve_local_path.vader b/test/test_resolve_local_path.vader
index ed1549a2..125ae2ff 100644
--- a/test/test_resolve_local_path.vader
+++ b/test/test_resolve_local_path.vader
@@ -8,10 +8,10 @@ Execute(We should be able to find the local version of a file):
call ale#test#SetFilename('top/middle/bottom/dummy.txt')
AssertEqual
- \ expand('%:p:h:h:h:h') . '/top/example.ini',
- \ ale#path#ResolveLocalPath(bufnr('%'), 'example.ini', '/global/config.ini')
+ \ ale#path#Winify(expand('%:p:h:h:h:h') . '/top/example.ini'),
+ \ ale#path#ResolveLocalPath(bufnr('%'), 'example.ini', '/global/config.ini')
Execute(We shouldn't find anything for files which don't match):
AssertEqual
\ '/global/config.ini',
- \ ale#path#ResolveLocalPath(bufnr('%'), 'missing.ini', '/global/config.ini')
+ \ ale#path#ResolveLocalPath(bufnr('%'), 'missing.ini', '/global/config.ini')