Skip to content

Commit d795958

Browse files
committed
lint fix
1 parent c690fdc commit d795958

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

packages/react-dom/src/__tests__/ReactDOMTextarea-test.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -802,9 +802,9 @@ describe('ReactDOMTextarea', () => {
802802
ReactTestUtils.renderIntoDocument(<textarea value={false} />),
803803
).toErrorDev(
804804
'Warning: You provided a `value` prop to a form ' +
805-
'field without an `onChange` handler. This will render a read-only ' +
806-
'field. If the field should be mutable use `defaultValue`. ' +
807-
'Otherwise, set either `onChange` or `readOnly`.',
805+
'field without an `onChange` handler. This will render a read-only ' +
806+
'field. If the field should be mutable use `defaultValue`. ' +
807+
'Otherwise, set either `onChange` or `readOnly`.',
808808
);
809809
});
810810

@@ -813,9 +813,9 @@ describe('ReactDOMTextarea', () => {
813813
ReactTestUtils.renderIntoDocument(<textarea value={0} />),
814814
).toErrorDev(
815815
'Warning: You provided a `value` prop to a form ' +
816-
'field without an `onChange` handler. This will render a read-only ' +
817-
'field. If the field should be mutable use `defaultValue`. ' +
818-
'Otherwise, set either `onChange` or `readOnly`.',
816+
'field without an `onChange` handler. This will render a read-only ' +
817+
'field. If the field should be mutable use `defaultValue`. ' +
818+
'Otherwise, set either `onChange` or `readOnly`.',
819819
);
820820
});
821821

@@ -824,9 +824,9 @@ describe('ReactDOMTextarea', () => {
824824
ReactTestUtils.renderIntoDocument(<textarea value="0" />),
825825
).toErrorDev(
826826
'Warning: You provided a `value` prop to a form ' +
827-
'field without an `onChange` handler. This will render a read-only ' +
828-
'field. If the field should be mutable use `defaultValue`. ' +
829-
'Otherwise, set either `onChange` or `readOnly`.',
827+
'field without an `onChange` handler. This will render a read-only ' +
828+
'field. If the field should be mutable use `defaultValue`. ' +
829+
'Otherwise, set either `onChange` or `readOnly`.',
830830
);
831831
});
832832

@@ -835,9 +835,9 @@ describe('ReactDOMTextarea', () => {
835835
ReactTestUtils.renderIntoDocument(<textarea value="" />),
836836
).toErrorDev(
837837
'Warning: You provided a `value` prop to a form ' +
838-
'field without an `onChange` handler. This will render a read-only ' +
839-
'field. If the field should be mutable use `defaultValue`. ' +
840-
'Otherwise, set either `onChange` or `readOnly`.',
838+
'field without an `onChange` handler. This will render a read-only ' +
839+
'field. If the field should be mutable use `defaultValue`. ' +
840+
'Otherwise, set either `onChange` or `readOnly`.',
841841
);
842842
});
843843
});

0 commit comments

Comments
 (0)