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

Function TestFormatSQLInternal_InvalidSQL

pkg/mcp/tools_internal_test.go:114–119  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

112}
113
114func TestFormatSQLInternal_InvalidSQL(t *testing.T) {
115 _, err := formatSQLInternal(")))((( @@@ !!!", 2, false, false)
116 if err == nil {
117 t.Fatal("expected format error for completely invalid SQL")
118 }
119}
120
121// --- parseSQLInternal ---
122

Callers

nothing calls this directly

Calls 1

formatSQLInternalFunction · 0.85

Tested by

no test coverage detected