mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-08 05:24:46 +08:00
#729 - Use a wrapper for simplify to fix // problems on Windows
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user