types: migrate test-infra to testify for errors_test.go (#28023)
types: migrate test-infra to testify for errors_test.go (#28023)

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