From 8906fc914a7bc6c52128c320ccd9604f4b9d3cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=20Liang=C3=A2?= Date: Wed, 22 Nov 2017 17:00:32 +0800 Subject: [PATCH] Fix an opposite description in warning message. --- packages/react-dom/src/__tests__/ReactServerRendering-test.js | 4 ++-- packages/react-dom/src/client/ReactDOMFiberComponent.js | 2 +- packages/react-dom/src/server/ReactPartialRenderer.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react-dom/src/__tests__/ReactServerRendering-test.js b/packages/react-dom/src/__tests__/ReactServerRendering-test.js index 86519ae5854a9..2e3bd87d6a59c 100644 --- a/packages/react-dom/src/__tests__/ReactServerRendering-test.js +++ b/packages/react-dom/src/__tests__/ReactServerRendering-test.js @@ -760,12 +760,12 @@ describe('ReactDOMServer', () => { ); expect(console.error.calls.count()).toBe(2); expect(console.error.calls.argsFor(0)[0]).toBe( - 'Warning: is using uppercase HTML. Always use lowercase ' + + 'Warning: is using lowercase HTML. Always use uppercase ' + 'HTML tags in React.', ); // linearGradient doesn't warn expect(console.error.calls.argsFor(1)[0]).toBe( - 'Warning: