diff --git a/expression/constant_fold_test.go b/expression/constant_fold_test.go index cbdd966804bfa..d116da3916586 100644 --- a/expression/constant_fold_test.go +++ b/expression/constant_fold_test.go @@ -15,12 +15,18 @@ package expression_test import ( - . "github.com/pingcap/check" - "github.com/pingcap/tidb/util/testkit" + "testing" + + "github.com/pingcap/tidb/testkit" ) -func (s *testIntegrationSuite) TestFoldIfNull(c *C) { - tk := testkit.NewTestKit(c, s.store) +func TestFoldIfNull(t *testing.T) { + t.Parallel() + + store, clean := testkit.CreateMockStore(t) + defer clean() + + tk := testkit.NewTestKit(t, store) tk.MustExec(`use test;`) tk.MustExec(`drop table if exists t;`) tk.MustExec(`create table t(a bigint, b bigint);`)