From 20e1f5258b552f62ece82915aa0cef3a92fe90b4 Mon Sep 17 00:00:00 2001 From: uniqueiniquity Date: Tue, 31 Oct 2017 16:09:30 -0700 Subject: [PATCH] Update test --- tests/cases/fourslash/indentationInJsx3.ts | 30 +++++++++++++++------- 1 file changed, 21 insertions(+), 9 deletions(-) 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