Skip to content

Commit

Permalink
Fix existing test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbuck committed Jul 28, 2016
1 parent 71ac08e commit 626066d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions tests/lib/rules/jsx-indent.js
Expand Up @@ -157,18 +157,22 @@ ruleTester.run('jsx-indent', rule, {
].join('\n'),
options: [2],
parserOptions: parserOptions,
errors: [{message: 'Expected indentation of 2 space characters but found 9.'}]
errors: [
{message: 'Expected indentation of 2 space characters but found 9.'}
]
}, {
code: [
'function App() {',
' return (<App>',
' <Foo />',
' </App>);',
' return (',
' <App>',
' <Foo />',
' </App>',
' );',
'}'
].join('\n'),
options: [2],
parserOptions: parserOptions,
errors: [{message: 'Expected indentation of 2 space characters but found 4.'}]
errors: [{message: 'Expected indentation of 4 space characters but found 6.'}]
}, {
code: [
'function App() {',
Expand Down

0 comments on commit 626066d

Please sign in to comment.