summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test-short-keyword.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test-short-keyword.c b/test/test-short-keyword.c
index 226c097..b3baa2c 100644
--- a/test/test-short-keyword.c
+++ b/test/test-short-keyword.c
@@ -15,6 +15,13 @@ char *failures[] = {
" module ",
"\tmodule ",
" moudle \t\n ",
+ "expr ",
+ " expr ",
+ "expr",
+ "expr asdf xor a b",
+ "expr asdf: xor b",
+ "expr asdf: foo b",
+ "expr asdf: foo a b",
};
char *passes[] = {
@@ -26,6 +33,9 @@ char *passes[] = {
"module test ",
"module test ",
" \tmodule \ttest \t",
+ "expr asdf: xor aa a",
+ "expr asdf: not aa",
+ " expr asdf: not aa ",
"\n",
"\n\n",
"\r",