unittests,syntax: Check for sanity of highlight_init_cmdline

Also fixes some errors found.
This commit is contained in:
ZyX
2017-11-12 16:59:36 +03:00
parent 45445e2e03
commit 556451a7f2
4 changed files with 169 additions and 8 deletions

View File

@@ -45,6 +45,9 @@ typedef struct {
} color_name_table_T;
extern color_name_table_T color_name_table[];
/// Array of highlight definitions, used for unit testing
extern const char *const highlight_init_cmdline[];
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "syntax.h.generated.h"
#endif