Skip to content

Commit

Permalink
ddl: migrate test-infra to testify for TestModifyColumn* (pingcap#32856)
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun authored Mar 6, 2022
1 parent 02dfac3 commit a023036
Show file tree
Hide file tree
Showing 7 changed files with 1,014 additions and 950 deletions.
3 changes: 1 addition & 2 deletions ddl/db_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ import (
"github.com/pingcap/tidb/types"
"github.com/pingcap/tidb/util/collate"
"github.com/pingcap/tidb/util/mock"
"github.com/pingcap/tidb/util/testutil"
"github.com/stretchr/testify/require"
"github.com/tikv/client-go/v2/testutils"
)
Expand Down Expand Up @@ -894,7 +893,7 @@ func TestChangingTableCharset(t *testing.T) {
tk.MustExec("drop table t")
tk.MustExec("create table t (a blob) character set utf8;")
tk.MustExec("alter table t charset=utf8mb4 collate=utf8mb4_bin;")
tk.MustQuery("show create table t").Check(testutil.RowsWithSep("|",
tk.MustQuery("show create table t").Check(testkit.RowsWithSep("|",
"t CREATE TABLE `t` (\n"+
" `a` blob DEFAULT NULL\n"+
") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin",
Expand Down
Loading

0 comments on commit a023036

Please sign in to comment.