aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/org/anarres/cpp/LexerSourceTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/org/anarres/cpp/LexerSourceTestCase.java')
-rw-r--r--src/tests/org/anarres/cpp/LexerSourceTestCase.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/org/anarres/cpp/LexerSourceTestCase.java b/src/tests/org/anarres/cpp/LexerSourceTestCase.java
index 205176b..ac3f61f 100644
--- a/src/tests/org/anarres/cpp/LexerSourceTestCase.java
+++ b/src/tests/org/anarres/cpp/LexerSourceTestCase.java
@@ -69,14 +69,16 @@ public class LexerSourceTestCase extends BaseTestCase implements Test {
CHARACTER, WHITESPACE,
CHARACTER, WHITESPACE,
CHARACTER, WHITESPACE,
- INVALID, WHITESPACE,
- INVALID);
+ SQSTRING, WHITESPACE,
+ SQSTRING);
testLexerSource("1i1I1l1L1ui1ul",
NUMBER, NUMBER,
NUMBER, NUMBER,
NUMBER, NUMBER);
+ testLexerSource("'' 'x' 'xx'",
+ SQSTRING, WHITESPACE, CHARACTER, WHITESPACE, SQSTRING);
}
}