Skip to content

Commit

Permalink
Remove.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang8330 committed Dec 19, 2024
1 parent a8b6a9c commit aabbe48
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/antlr/drop_table_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,6 @@ import (
)

func TestDropTable(t *testing.T) {
{
// Drop table specify schema
events, err := Parse("DROP TABLE db_name.table_name;")
assert.NoError(t, err)
assert.Len(t, events, 1)

dropTableEvent, isOk := events[0].(DropTableEvent)
assert.True(t, isOk)
assert.Equal(t, "table_name", dropTableEvent.GetTable())
}
{
// Single drop table
for _, tblName := range []string{"table_name", "`table_name`", "db_name.table_name", "`db_name`.`table_name`"} {
Expand Down

0 comments on commit aabbe48

Please sign in to comment.