()
| 76 | } |
| 77 | |
| 78 | @Test |
| 79 | public void testIdentifiers() throws Exception { |
| 80 | assertThat(lex("foo+bar").getType()).isEqualTo(IDENTIFIER); |
| 81 | assertThat(lex("foo+bar").getText()).isEqualTo("foo"); |
| 82 | } |
| 83 | |
| 84 | @Test |
| 85 | public void testKeywords() throws Exception { |