Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <lance6716@gmail.com>
  • Loading branch information
lance6716 committed Dec 8, 2022
1 parent 60fe6a6 commit 3c90190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dm/syncer/expr_filter_group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,8 @@ create table t (
for i, c := range cases {
t.Logf("case #%d", i)
g := NewExprFilterGroup(tcontext.Background(), sessCtx, []*config.ExpressionFilter{c})
oldExprs, newExprs, err := g.GetUpdateExprs(table, tableInfo)
require.NoError(t, err)
oldExprs, newExprs, err2 := g.GetUpdateExprs(table, tableInfo)
require.NoError(t, err2)
require.Equal(t, len(oldExprs), len(newExprs))
}
g := NewExprFilterGroup(tcontext.Background(), sessCtx, cases)
Expand Down

0 comments on commit 3c90190

Please sign in to comment.