#729 - Use a wrapper for simplify to fix // problems on Windows

This commit is contained in:
w0rp
2017-07-05 15:51:31 +01:00
parent a04e73ddbc
commit 1bd9b0fbe2
6 changed files with 25 additions and 9 deletions

View File

@@ -44,3 +44,7 @@ Execute(ale#path#Upwards should return the correct path components for Windows):
\ ale#path#Upwards('foo//..///foo2////bar')
" Expect an empty List for empty strings.
AssertEqual [], ale#path#Upwards('')
" Paths starting with // return /
AssertEqual
\ ['/foo2\bar', '/foo2', '/'],
\ ale#path#Upwards('//foo//..///foo2////bar')