--- lintSQLInternal ---
(t *testing.T)
| 297 | // --- lintSQLInternal --- |
| 298 | |
| 299 | func TestLintSQLInternal_EmptySQL(t *testing.T) { |
| 300 | _, err := lintSQLInternal("") |
| 301 | if err == nil { |
| 302 | t.Fatal("expected error for empty sql") |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | func TestLintSQLInternal_CleanSQL(t *testing.T) { |
| 307 | data, err := lintSQLInternal("SELECT id FROM users") |
nothing calls this directly
no test coverage detected