(t *testing.T)
| 682 | } |
| 683 | |
| 684 | func TestHandleFormatSQL_InvalidSQL(t *testing.T) { |
| 685 | ctx := context.Background() |
| 686 | req := makeReq(map[string]any{ |
| 687 | "sql": ")))((( @@@ !!!", |
| 688 | }) |
| 689 | _, err := handleFormatSQL(ctx, req) |
| 690 | if err == nil { |
| 691 | t.Fatal("expected error for unparseable SQL, got nil") |
| 692 | } |
| 693 | } |
| 694 | |
| 695 | func TestHandleAnalyzeSQL_InvalidSQLPartialResults(t *testing.T) { |
| 696 | ctx := context.Background() |
nothing calls this directly
no test coverage detected