Fix a line-length warning (#8298)
Test Plan: npm run lint / yarn run lint
Tom Occhino committed
Nov 16, 2016 at 10:33 UTC
9589c726da5390f03818bde31e722e62d352087a
1 file changed
+3
-1
src/renderers/dom/shared/wrappers/__tests__/ReactDOMOption-test.js
+3
-1
@@ -40,7 +40,9 @@ describe('ReactDOMOption', () => {
40
ReactTestUtils.renderIntoDocument(<option>{1} <div /> {2}</option>);
41
// only warn once
42
expectDev(console.error.calls.count()).toBe(1);
43
- expectDev(console.error.calls.argsFor(0)[0]).toContain('Only strings and numbers are supported as <option> children.');
43
+ expectDev(console.error.calls.argsFor(0)[0]).toContain(
44
+ 'Only strings and numbers are supported as <option> children.'
45
+ );
46
});
47
48
it('should ignore null/undefined/false children without warning', () => {