Skip to content

Commit 626066d

Browse files
author
Stefan Buck
committed
Fix existing test fixtures
1 parent 71ac08e commit 626066d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

tests/lib/rules/jsx-indent.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,18 +157,22 @@ ruleTester.run('jsx-indent', rule, {
157157
].join('\n'),
158158
options: [2],
159159
parserOptions: parserOptions,
160-
errors: [{message: 'Expected indentation of 2 space characters but found 9.'}]
160+
errors: [
161+
{message: 'Expected indentation of 2 space characters but found 9.'}
162+
]
161163
}, {
162164
code: [
163165
'function App() {',
164-
' return (<App>',
165-
' <Foo />',
166-
' </App>);',
166+
' return (',
167+
' <App>',
168+
' <Foo />',
169+
' </App>',
170+
' );',
167171
'}'
168172
].join('\n'),
169173
options: [2],
170174
parserOptions: parserOptions,
171-
errors: [{message: 'Expected indentation of 2 space characters but found 4.'}]
175+
errors: [{message: 'Expected indentation of 4 space characters but found 6.'}]
172176
}, {
173177
code: [
174178
'function App() {',

0 commit comments

Comments
 (0)