Skip to content

Commit

Permalink
Prettified. #3
Browse files Browse the repository at this point in the history
  • Loading branch information
NicBonetto committed Oct 29, 2017
1 parent 2c19ea3 commit 37207a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/react-dom/src/__tests__/ReactDOMAttribute-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ describe('ReactDOM unknown attribute', () => {
normalizeCodeLocInfo(console.error.calls.argsFor(0)[0]),
).toMatch(
'Received `true` for the non-boolean attribute `unknown`.\n\n' +
'If you want to write it to the DOM, pass a string instead: ' +
'unknown="true" or unknown={value.toString()}.\n' +
'If you want to write it to the DOM, pass a string instead: ' +
'unknown="true" or unknown={value.toString()}.\n' +
' in div (at **)',
);
expectDev(console.error.calls.count()).toBe(1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ if (__DEV__) {
'If you want to write it to the DOM, pass a string instead: ' +
'%s="%s" or %s={value.toString()}.\n\n' +
'If you conditionally omit it with %s={condition && value}, ' +
'pass %s={condition ? value : undefined} instead.%s',
'pass %s={condition ? value : undefined} instead.%s',
value,
name,
name,
Expand Down

0 comments on commit 37207a0

Please sign in to comment.