From 626066dc22df2bee5313c231d8736bbc405e4323 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 | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tests/lib/rules/jsx-indent.js b/tests/lib/rules/jsx-indent.js index 3b08b9a554..1b4155c14e 100644 --- a/tests/lib/rules/jsx-indent.js +++ b/tests/lib/rules/jsx-indent.js @@ -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 (', - ' ', - ' );', + ' 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() {',