(t *testing.T)
| 286 | } |
| 287 | |
| 288 | func TestSecurityScanInternal_CommentBypass(t *testing.T) { |
| 289 | data, err := securityScanInternal("SELECT * FROM users WHERE id = 1 -- bypass") |
| 290 | if err != nil { |
| 291 | t.Fatalf("unexpected error: %v", err) |
| 292 | } |
| 293 | // Comment bypasses may or may not be detected depending on pattern |
| 294 | _ = data |
| 295 | } |
| 296 | |
| 297 | // --- lintSQLInternal --- |
| 298 |
nothing calls this directly
no test coverage detected