(t *testing.T)
| 105 | } |
| 106 | |
| 107 | func TestReplaceTable_UnsupportedStatement(t *testing.T) { |
| 108 | stmt := mustParse(t, "INSERT INTO users (name) VALUES ('bob')") |
| 109 | err := Apply(stmt, ReplaceTable("users", "accounts")) |
| 110 | if err == nil { |
| 111 | t.Fatal("expected error for INSERT") |
| 112 | } |
| 113 | } |
nothing calls this directly
no test coverage detected