...
Code Block | ||
---|---|---|
| ||
@Test
public void testQuotedString() throws IOException, RecognitionException {
String result = parser.parseField("\"Red, White, and Blue\"");
assert result.equals("Red, White, and Blue") : "Expected <<Red, White, and Blue>>, but found <<" + result + ">>";
}
|
...