Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesCheung96 committed Jan 23, 2024
1 parent 2661127 commit 96c7b2a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/filter/filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ func TestShouldIgnoreDDL(t *testing.T) {
},
},
ignoredTs: []uint64{},
}, { // cases ignore by ddl query
},
{ // cases ignore by ddl query
cases: []struct {
startTs uint64
schema string
Expand Down Expand Up @@ -325,7 +326,8 @@ func TestShouldDiscardDDL(t *testing.T) {
{"test", "", "create database test", timodel.ActionCreateSchema, true},
},
rules: []string{"sns.*", "ecom.*", "!sns.log", "!ecom.test"},
}, {
},
{
// Discard by schema name cases.
cases: []struct {
schema string
Expand Down

0 comments on commit 96c7b2a

Please sign in to comment.