unittests: Add some more edge test cases

This commit is contained in:
ZyX
2017-11-12 03:52:26 +03:00
parent c7495ebcc0
commit 45445e2e03
2 changed files with 150 additions and 0 deletions

View File

@@ -40,6 +40,13 @@
// E15: Invalid expression: [1,
//
// < , just exactly one E697 message.
// 6. Some expressions involving calling parenthesis which are treated
// separately by Vim even when not separated by spaces are treated as one
// expression by Neovim: e.g. ":echo (1)(1)" will yield runtime error after
// failing to call "1", while Vim will echo "1 1". Reasoning is the same:
// type of what is in the first expression is generally not known when
// parsing, so to have separate expressions like this separate them with
// spaces.
#include <stdbool.h>
#include <stddef.h>