diff options
author | w0rp <devw0rp@gmail.com> | 2017-09-11 00:47:27 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-09-11 00:47:27 +0100 |
commit | b6a487ccf9318e449a85bd5b43d7a81b9d17d2be (patch) | |
tree | 3fc370f84a5295994d38b54d2eef2468a1a0a9e2 /test/test_nearest_file_search.vader | |
parent | cb8a140141d6365f48e66dfaaaa8f9957f0dc832 (diff) | |
download | ale-b6a487ccf9318e449a85bd5b43d7a81b9d17d2be.zip |
Fix some random test issues for Windows
Diffstat (limited to 'test/test_nearest_file_search.vader')
-rw-r--r-- | test/test_nearest_file_search.vader | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_nearest_file_search.vader b/test/test_nearest_file_search.vader index 71b7d109..63e82da8 100644 --- a/test/test_nearest_file_search.vader +++ b/test/test_nearest_file_search.vader @@ -7,7 +7,9 @@ After: Execute(We should be able to find a configuration file further up): call ale#test#SetFilename('top/middle/bottom/dummy.txt') - AssertEqual expand('%:p:h:h:h:h') . '/top/example.ini', ale#path#FindNearestFile(bufnr('%'), 'example.ini') + AssertEqual + \ ale#path#Winify(expand('%:p:h:h:h:h') . '/top/example.ini'), + \ ale#path#FindNearestFile(bufnr('%'), 'example.ini') Execute(We shouldn't find anything for files which don't match): AssertEqual '', ale#path#FindNearestFile(bufnr('%'), 'cantfindthis') |