============================================================================= Regression tests - valid SQL must still parse correctly =============================================================================
(t *testing.T)
| 118 | // ============================================================================= |
| 119 | |
| 120 | func TestValidSQL_SelectStar(t *testing.T) { |
| 121 | if err := parseSQLCheck(t, "SELECT * FROM users"); err != nil { |
| 122 | t.Fatalf("valid SQL failed: %v", err) |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | func TestValidSQL_SelectMultipleTables(t *testing.T) { |
| 127 | if err := parseSQLCheck(t, "SELECT * FROM t1, t2"); err != nil { |
nothing calls this directly
no test coverage detected