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

Function TestExtractMetadataInternal_InvalidSQL

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

Source from the content-addressed store, hash-verified

224}
225
226func TestExtractMetadataInternal_InvalidSQL(t *testing.T) {
227 _, err := extractMetadataInternal(")))((( @@@ !!!")
228 if err == nil {
229 t.Fatal("expected parse error for invalid SQL")
230 }
231}
232
233// --- securityScanInternal ---
234

Callers

nothing calls this directly

Calls 1

extractMetadataInternalFunction · 0.85

Tested by

no test coverage detected