diff options
Diffstat (limited to 'test/manual/indent/jsx-unclosed-1.jsx')
-rw-r--r-- | test/manual/indent/jsx-unclosed-1.jsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/manual/indent/jsx-unclosed-1.jsx b/test/manual/indent/jsx-unclosed-1.jsx new file mode 100644 index 00000000000..1f5c3fba8da --- /dev/null +++ b/test/manual/indent/jsx-unclosed-1.jsx @@ -0,0 +1,13 @@ +// Local Variables: +// indent-tabs-mode: nil +// js-indent-level: 2 +// End: + +// The following test goes below any comments to avoid including +// misindented comments among the erroring lines. + +return ( + <div> + {array.map(function () { + return { + a: 1 |