diff options
author | ZyX <kp-pav@yandex.ru> | 2017-10-15 21:11:00 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-10-15 21:11:00 +0300 |
commit | 3aa2c0d63ae488e302a89fdcdd650404cb2670fd (patch) | |
tree | e9436989d55200b71188768f831e98fad09300b2 /test/unit/viml/expressions/parser_spec.lua | |
parent | bc386c48829c431fe5b17592c82eb4099621953a (diff) | |
download | rneovim-3aa2c0d63ae488e302a89fdcdd650404cb2670fd.tar.gz rneovim-3aa2c0d63ae488e302a89fdcdd650404cb2670fd.tar.bz2 rneovim-3aa2c0d63ae488e302a89fdcdd650404cb2670fd.zip |
viml/parser/expressions,klee: Fix some problems found by KLEE run
Diffstat (limited to 'test/unit/viml/expressions/parser_spec.lua')
-rw-r--r-- | test/unit/viml/expressions/parser_spec.lua | 8 |
1 files changed, 8 insertions, 0 deletions
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) |