mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-27 05:12:16 +08:00
Add support for parsing compile_commands.json files for C compilers
This commit is contained in:
8
test/test_path_dirname.vader
Normal file
8
test/test_path_dirname.vader
Normal file
@@ -0,0 +1,8 @@
|
||||
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/')
|
||||
Reference in New Issue
Block a user