diff --git a/tests/cases/fourslash/indentationInJsx3.ts b/tests/cases/fourslash/indentationInJsx3.ts
new file mode 100644
index 0000000000..3c75356a12
--- /dev/null
+++ b/tests/cases/fourslash/indentationInJsx3.ts
@@ -0,0 +1,31 @@
+///
+
+//@Filename: file.tsx
+////function foo () {
+//// return (
+////
+////hello
+////goodbye
+////
+//// )
+////}
+
+goTo.position(21);
+verify.textAtCaretIs("return");
+goTo.position(38);
+verify.textAtCaretIs("");
+goTo.position(44);
+verify.textAtCaretIs("hello");
+goTo.position(50);
+verify.textAtCaretIs("goodbye");
+
+format.document();
+
+goTo.position(21);
+verify.textAtCaretIs("return");
+goTo.position(38);
+verify.textAtCaretIs("
");
+goTo.position(56);
+verify.textAtCaretIs("hello");
+goTo.position(74);
+verify.textAtCaretIs("goodbye");
\ No newline at end of file