From 3aa2c0d63ae488e302a89fdcdd650404cb2670fd Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 15 Oct 2017 21:11:00 +0300 Subject: viml/parser/expressions,klee: Fix some problems found by KLEE run --- test/unit/viml/expressions/parser_spec.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/unit') diff --git a/test/unit/viml/expressions/parser_spec.lua b/test/unit/viml/expressions/parser_spec.lua index 9624ced022..22263af8e2 100644 --- a/test/unit/viml/expressions/parser_spec.lua +++ b/test/unit/viml/expressions/parser_spec.lua @@ -6867,5 +6867,13 @@ describe('Expressions parser', function() }, }, { }) + check_parsing('0', 0, { + -- 0 + ast = { + 'Integer(val=0):0:0:0', + }, + }, { + hl('Number', '0'), + }) end) end) -- cgit