Skip to content

Commit

Permalink
fix failed unit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
asddongmen committed Dec 7, 2023
1 parent 27b4ba0 commit 030e8b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cdc/entry/mounter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ func TestBuildTableInfo(t *testing.T) {
},
}
p := parser.New()
for _, c := range cases {
for i, c := range cases {
stmt, err := p.ParseOneStmt(c.origin, "", "")
require.NoError(t, err)
originTI, err := ddl.BuildTableInfoFromAST(stmt.(*ast.CreateTableStmt))
Expand Down Expand Up @@ -1381,7 +1381,7 @@ func TestNewDMRowChange(t *testing.T) {
},
}
p := parser.New()
for i, c := range cases {
for _, c := range cases {
stmt, err := p.ParseOneStmt(c.origin, "", "")
require.NoError(t, err)
originTI, err := ddl.BuildTableInfoFromAST(stmt.(*ast.CreateTableStmt))
Expand Down

0 comments on commit 030e8b8

Please sign in to comment.