From 5cbcf148a1b341a4441736358ec78ebfed892cf4 Mon Sep 17 00:00:00 2001 From: Reminiscent Date: Fri, 23 Sep 2022 15:42:10 +0800 Subject: [PATCH] fixut --- executor/insert_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executor/insert_test.go b/executor/insert_test.go index 8e83f03e0ffbf..a0294f48b03a5 100644 --- a/executor/insert_test.go +++ b/executor/insert_test.go @@ -365,7 +365,7 @@ func (s *testSuite3) TestIssue37187(c *C) { tk.MustExec("create table t2 (c int(11) ,d varchar(100) ,primary key (c));") tk.MustExec("prepare in1 from 'insert into t1 (a,b) select c,null from t2 t on duplicate key update b=t.d';") err := tk.ExecToErr("execute in1;") - c.Assert(err, nil) + c.Assert(err, IsNil) } func (s *testSuite3) TestInsertWrongValueForField(c *C) {