diff --git a/tests/cases/fourslash/indentationInJsx3.ts b/tests/cases/fourslash/indentationInJsx3.ts index 1c93cbc24bd..b5d5e772213 100644 --- a/tests/cases/fourslash/indentationInJsx3.ts +++ b/tests/cases/fourslash/indentationInJsx3.ts @@ -1,7 +1,7 @@ /// //@Filename: file.tsx -////function foo () { +////function foo() { //// return ( ////
/////*0*/hello @@ -10,14 +10,26 @@ //// ) ////} -goTo.marker('0'); -verify.currentLineContentIs("hello"); -goTo.marker('1'); -verify.currentLineContentIs("goodbye"); +verify.currentFileContentIs( +`function foo() { + return ( +
+hello +goodbye +
+ ) +}` +); format.document(); -goTo.marker('0'); -verify.currentLineContentIs(" hello"); -goTo.marker('1'); -verify.currentLineContentIs(" goodbye"); \ No newline at end of file +verify.currentFileContentIs( +`function foo() { + return ( +
+ hello + goodbye +
+ ) +}` +); \ No newline at end of file