viml/parser/expressions,tests: Add AST freeing, with sanity checks

This commit is contained in:
ZyX
2017-10-15 20:05:35 +03:00
parent 206f7ae76a
commit 6c19cbef26
4 changed files with 210 additions and 36 deletions

View File

@@ -253,6 +253,7 @@ describe('Expressions parser', function()
end
eq(exp_highlighting, hls)
end
lib.viml_pexpr_free_ast(east)
end
local function hl(group, str, shift)
return function(next_col)