(t *testing.T)
| 55 | } |
| 56 | |
| 57 | func TestAddSelectStar(t *testing.T) { |
| 58 | stmt := mustParse(t, "SELECT id FROM users") |
| 59 | err := Apply(stmt, AddSelectStar()) |
| 60 | if err != nil { |
| 61 | t.Fatal(err) |
| 62 | } |
| 63 | out := format(stmt) |
| 64 | assertContains(t, out, "*") |
| 65 | } |
| 66 | |
| 67 | func TestRemoveColumn_Nonexistent(t *testing.T) { |
| 68 | stmt := mustParse(t, "SELECT id, name FROM users") |
nothing calls this directly
no test coverage detected