MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / TestNewParser_WithStrictMode

Function TestNewParser_WithStrictMode

pkg/sql/parser/parser_strictness_test.go:323–328  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

321}
322
323func TestNewParser_WithStrictMode(t *testing.T) {
324 p := NewParser(WithStrictMode())
325 if !p.strict {
326 t.Fatal("NewParser(WithStrictMode()) should set strict=true")
327 }
328}

Callers

nothing calls this directly

Calls 2

WithStrictModeFunction · 0.85
NewParserFunction · 0.70

Tested by

no test coverage detected