Add support for parsing compile_commands.json files for C compilers

This commit is contained in:
w0rp
2018-07-29 19:24:19 +01:00
parent a7b8cb4fe3
commit ac4bac8ea4
19 changed files with 345 additions and 239 deletions

View 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/')