diff --git a/pkg/filter/filter_test.go b/pkg/filter/filter_test.go index 6a4e70dad56..dfb0f99075b 100644 --- a/pkg/filter/filter_test.go +++ b/pkg/filter/filter_test.go @@ -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 @@ -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