From c65bfd7b74f96044d2b778e1e4c2287891efdc93 Mon Sep 17 00:00:00 2001 From: Stefan Buck Date: Sat, 4 Jun 2016 09:20:46 +0200 Subject: [PATCH] Fix existing test fixtures --- tests/lib/rules/jsx-indent.js | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/tests/lib/rules/jsx-indent.js b/tests/lib/rules/jsx-indent.js index 3b08b9a554..ae49f50769 100644 --- a/tests/lib/rules/jsx-indent.js +++ b/tests/lib/rules/jsx-indent.js @@ -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 (', - ' ', - ' );', + ' return (', + ' ', + ' ', + ' ', + ' );', '}' ].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() {',