summaryrefslogtreecommitdiff
path: root/test/test-short-keyword.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-short-keyword.c')
-rw-r--r--test/test-short-keyword.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/test-short-keyword.c b/test/test-short-keyword.c
index 50d44d3..226c097 100644
--- a/test/test-short-keyword.c
+++ b/test/test-short-keyword.c
@@ -7,13 +7,25 @@
#include "parser.h"
char *failures[] = {
+ "input"
"input\n",
"input \n",
+ "input aa aa\n",
+ "module",
+ " module ",
+ "\tmodule ",
+ " moudle \t\n ",
};
char *passes[] = {
+ "input aa",
"input a\n",
"input aaaaaaaa\n",
+ "module test",
+ "module test",
+ "module test ",
+ "module test ",
+ " \tmodule \ttest \t",
"\n",
"\n\n",
"\r",
@@ -22,6 +34,8 @@ char *passes[] = {
"\n\r",
"\n\n\r",
"\r\n\r",
+ "",
+ "\t"
};
int main(void) {