diff --git a/components/descriptions/__tests__/index.test.js b/components/descriptions/__tests__/index.test.js index 96cfb3e630..66b51d9750 100644 --- a/components/descriptions/__tests__/index.test.js +++ b/components/descriptions/__tests__/index.test.js @@ -89,7 +89,7 @@ describe('Descriptions', () => { , ); expect(errorSpy).toHaveBeenCalledWith( - 'Warning: [antd: Descriptions] Sum of column `span` in a line exceeds `column` of Descriptions.', + 'Warning: [antd: Descriptions] Sum of column `span` in a line not match `column` of Descriptions.', ); }); diff --git a/components/descriptions/index.tsx b/components/descriptions/index.tsx index db339983a1..ffcdfba9a5 100644 --- a/components/descriptions/index.tsx +++ b/components/descriptions/index.tsx @@ -92,7 +92,7 @@ const generateChildrenRows = ( warning( leftSpans === 0 && lastSpanSame, 'Descriptions', - 'Sum of column `span` in a line exceeds `column` of Descriptions.', + 'Sum of column `span` in a line not match `column` of Descriptions.', ); } });