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

Method testIdentifiers

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

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 3

lexMethod · 0.95
getTypeMethod · 0.45
getTextMethod · 0.45

Tested by

no test coverage detected