mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-17 16:45:11 +08:00
Fix ale#path#Dirname on Windows
This commit is contained in:
@@ -6,3 +6,8 @@ Execute(ale#path#Dirname should return empty strings should be returned for empt
|
||||
Execute(ale#path#Dirname should return the dirname of paths):
|
||||
AssertEqual '/foo', ale#path#Dirname('/foo/bar')
|
||||
AssertEqual '/foo', ale#path#Dirname('/foo/bar/')
|
||||
|
||||
if has('win32')
|
||||
AssertEqual 'C:\foo', ale#path#Dirname('C:\foo\bar')
|
||||
AssertEqual 'C:\foo', ale#path#Dirname('C:\foo\bar\')
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user