planner/core/logical_plan_test.go: add error check (#24942)
planner/core/logical_plan_test.go: add error check (#24942)

 
coocood/tidb,ngaut/tidb,pingcap/tidb,ngaut/tidb,kyle-wang/tidb,pingcap/tidb,kyle-wang/tidb,pingcap/tidb,kyle-wang/tidb,pingcap/tidb,pingcap/tidb,c4pt0r/tidb,ngaut/tidb,c4pt0r/tidb,c4pt0r/tidb,c4pt0r/tidb,kyle-wang/tidb,coocood/tidb,ngaut/tidb,c4pt0r/tidb,kyle-wang/tidb,c4pt0r/tidb,pingcap/tidb,ngaut/tidb,kyle-wang/tidb,ngaut/tidb