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 Jun 4, 2016
1 parent d9e6c6f commit c65bfd7
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions tests/lib/rules/jsx-indent.js
Expand Up @@ -157,18 +157,23 @@ 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.'},
{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 c65bfd7

Please sign in to comment.