mirror of
https://github.com/dense-analysis/ale
synced 2024-12-14 18:37:12 +00:00
9 lines
377 B
Plaintext
9 lines
377 B
Plaintext
Execute(ale#path#Dirname should return empty strings should be returned for empty values):
|
|
AssertEqual '', ale#path#Dirname('')
|
|
AssertEqual '', ale#path#Dirname(0)
|
|
AssertEqual '', ale#path#Dirname(v:null)
|
|
|
|
Execute(ale#path#Dirname should return the dirname of paths):
|
|
AssertEqual '/foo', ale#path#Dirname('/foo/bar')
|
|
AssertEqual '/foo', ale#path#Dirname('/foo/bar/')
|