mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-26 15:43:16 +08:00
#729 - Use a wrapper for simplify to fix // problems on Windows
This commit is contained in:
1 parent
a04e73ddbc
commit
1bd9b0fbe2
6 files changed
+25
-9
No files matched your search
@@ -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