diff --git a/tests/cases/fourslash/formattingJsxElements.ts b/tests/cases/fourslash/formattingJsxElements.ts
index d0c77804ed5..3219fb396b9 100644
--- a/tests/cases/fourslash/formattingJsxElements.ts
+++ b/tests/cases/fourslash/formattingJsxElements.ts
@@ -10,10 +10,24 @@
//// )
////}
////
+////function () {
+//// return
/*danglingBraketAutoformat*/
+////
+////}
format.document();
goTo.marker("autoformat");
verify.currentLineContentIs(' Hello, World!');
goTo.marker("indent");
-verify.indentationIs(12);
\ No newline at end of file
+verify.indentationIs(12);
+
+goTo.marker("attrAutoformat");
+verify.currentLineContentIs(' className="">');
+goTo.marker("attrIndent");
+verify.indentationIs(8);
+goTo.marker("danglingBracketAutoformat")
+verify.currentLineContentIs(" >");
\ No newline at end of file