Skip to content

Commit aa40261

Browse files
jaesoekjjangljharb
andauthored
Update tests/lib/rules/checked-requires-onchange-or-readonly.js
Co-authored-by: Jordan Harband <[email protected]>
1 parent 90ccfe8 commit aa40261

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/rules/checked-requires-onchange-or-readonly.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ ruleTester.run('checked-requires-onchange-or-readonly', rule, {
6969
],
7070
},
7171
{
72-
code: 'React.createElement("input", {checked: false})',
72+
code: 'React.createElement("input", { checked: false })',
7373
errors: [
7474
{ messageId: 'missingProperty' },
7575
],
7676
},
7777
{
78-
code: 'React.createElement("input", {checked: true, defaultChecked: true})',
78+
code: 'React.createElement("input", { checked: true, defaultChecked: true })',
7979
errors: [
8080
{ messageId: 'exclusiveCheckedAttribute' },
8181
{ messageId: 'missingProperty' },

0 commit comments

Comments
 (0)