summaryrefslogtreecommitdiff
path: root/test/test_resolve_local_path.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-09-11 00:47:27 +0100
committerw0rp <devw0rp@gmail.com>2017-09-11 00:47:27 +0100
commitb6a487ccf9318e449a85bd5b43d7a81b9d17d2be (patch)
tree3fc370f84a5295994d38b54d2eef2468a1a0a9e2 /test/test_resolve_local_path.vader
parentcb8a140141d6365f48e66dfaaaa8f9957f0dc832 (diff)
downloadale-b6a487ccf9318e449a85bd5b43d7a81b9d17d2be.zip
Fix some random test issues for Windows
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')