Skip to content

Commit 004f652

Browse files
committed
rollback not required changes
1 parent 48b582a commit 004f652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/rules/forbid-dom-props.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ ruleTester.run('forbid-dom-props', rule, {
5454
var First = createReactClass({
5555
propTypes: externalPropTypes,
5656
render: function() {
57-
return <this.foo bar="baz" />;
57+
return <this.Foo bar="baz" />;
5858
}
5959
});
6060
`,
@@ -73,7 +73,7 @@ ruleTester.run('forbid-dom-props', rule, {
7373
{
7474
code: `
7575
const First = (props) => (
76-
<this.foo {...props} />
76+
<this.Foo {...props} />
7777
);
7878
`,
7979
options: [{ forbid: ['id'] }],

0 commit comments

Comments
 (0)