--- validateSQLInternal ---
(t *testing.T)
| 21 | // --- validateSQLInternal --- |
| 22 | |
| 23 | func TestValidateSQLInternal_EmptySQL(t *testing.T) { |
| 24 | _, err := validateSQLInternal("", "") |
| 25 | if err == nil { |
| 26 | t.Fatal("expected error for empty sql") |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | func TestValidateSQLInternal_ValidGeneric(t *testing.T) { |
| 31 | data, err := validateSQLInternal("SELECT 1", "") |
nothing calls this directly
no test coverage detected