MCPcopy Create free account
hub / github.com/araddon/qlbridge / TestExprDialectInit

Function TestExprDialectInit

lex/dialect_expr_test.go:9–15  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

7)
8
9func TestExprDialectInit(t *testing.T) {
10 // Make sure we can init more than once, see if it panics
11 ExpressionDialect.Init()
12 for _, stmt := range ExpressionDialect.Statements {
13 assert.NotEqual(t, "", stmt.String())
14 }
15}
16
17func tokenexpr(lexString string, runLex StateFn) Token {
18 l := NewLexer(lexString, ExpressionDialect)

Callers

nothing calls this directly

Calls 2

InitMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected