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

Function TestParseSQLInternal_InvalidSQL

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

Source from the content-addressed store, hash-verified

159}
160
161func TestParseSQLInternal_InvalidSQL(t *testing.T) {
162 _, err := parseSQLInternal(")))((( @@@ !!!")
163 if err == nil {
164 t.Fatal("expected parse error for invalid SQL")
165 }
166}
167
168// --- extractMetadataInternal ---
169

Callers

nothing calls this directly

Calls 1

parseSQLInternalFunction · 0.85

Tested by

no test coverage detected