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: is using uppercase HTML. Always use lowercase ' +
+ 'Warning: is using lowercase HTML. Always use uppercase ' +
'HTML tags in React.',
);
});
diff --git a/packages/react-dom/src/client/ReactDOMFiberComponent.js b/packages/react-dom/src/client/ReactDOMFiberComponent.js
index e6ff7e7c92cb2..f8c6e31037dd3 100644
--- a/packages/react-dom/src/client/ReactDOMFiberComponent.js
+++ b/packages/react-dom/src/client/ReactDOMFiberComponent.js
@@ -373,7 +373,7 @@ export function createElement(
// allow