--- formatSQLInternal ---
(t *testing.T)
| 82 | // --- formatSQLInternal --- |
| 83 | |
| 84 | func TestFormatSQLInternal_EmptySQL(t *testing.T) { |
| 85 | _, err := formatSQLInternal("", 2, false, false) |
| 86 | if err == nil { |
| 87 | t.Fatal("expected error for empty sql") |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | func TestFormatSQLInternal_ValidSQL(t *testing.T) { |
| 92 | data, err := formatSQLInternal("select id from users", 4, true, true) |
nothing calls this directly
no test coverage detected