Skip to content

Commit

Permalink
Fixed warning message. #3
Browse files Browse the repository at this point in the history
  • Loading branch information
NicBonetto committed Oct 29, 2017
1 parent aada64c commit de26d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dom/src/__tests__/ReactDOMAttribute-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('ReactDOM unknown attribute', () => {
normalizeCodeLocInfo(console.error.calls.argsFor(0)[0]),
).toMatch(
'Warning: Received `true` for non-boolean attribute `unknown`.\n\n ' +
'If you want `unknown` to appear in the DOM, cast it as a string. ' +
'If you want `unknown` to appear in the DOM, cast it to a string. ' +
'For example, you can pass `unknown="true"` or `unknown={value.toString()}` instead.\n' +
' in div (at **)',
);
Expand Down

0 comments on commit de26d9d

Please sign in to comment.