MCPcopy Create free account
hub / github.com/dynjs/dynjs / testKeywords

Method testKeywords

src/test/java/org/dynjs/parser/js/JSLexerTest.java:84–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 }
83
84 @Test
85 public void testKeywords() throws Exception {
86 assertThat(lex("while").getType()).isEqualTo(WHILE);
87 assertThat(lex("function").getType()).isEqualTo(FUNCTION);
88 }
89
90 @Test
91 public void testBooleanLiterals() throws Exception {

Callers

nothing calls this directly

Calls 2

lexMethod · 0.95
getTypeMethod · 0.45

Tested by

no test coverage detected