From: Jackson Ray Hamilton Date: Sat, 23 Mar 2019 19:33:20 +0000 (-0700) Subject: Update expectations for JSX indentation in JSXAttribute space X-Git-Tag: emacs-27.0.90~3261^2~52 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2bedd23358d2d7378eec78d526ba1435d3b4d122;p=emacs.git Update expectations for JSX indentation in JSXAttribute space * test/manual/indent/js-jsx.js: Align expectations for dangling closing constructs with other places in the tests. --- diff --git a/test/manual/indent/js-jsx.js b/test/manual/indent/js-jsx.js index af3c3405590..2ec00c63bbd 100644 --- a/test/manual/indent/js-jsx.js +++ b/test/manual/indent/js-jsx.js @@ -37,7 +37,7 @@ return ( React.render( , + />, { a: 1 } @@ -242,12 +242,18 @@ export default ({ stars }) => ( // JS expressions should not break indentation // (https://github.com/mooz/js2-mode/issues/462). +// +// In the referenced issue, the user actually wanted indentation which +// was simply different than Emacs’ SGML attribute indentation. +// Nevertheless, his issue highlighted our inability to properly +// indent code with JSX inside JSXExpressionContainers inside JSX. return ( - ( -
nothing
- )} /> + ( +
nothing
+ )} />