TypeScript/tests/cases/fourslash/formattingWithEnterAfterMultilineString.ts
2018-01-17 15:18:54 -08:00

15 lines
413 B
TypeScript

/// <reference path='fourslash.ts' />
////class Greeter3 {
//// stop() {
//// /*2*/var s = "hello\
////"/*1*/
//// }
////}
goTo.marker("1");
edit.insert("\n");
// We actually need to verify smart (virtual) identation here rather than actual identation. Fourslash support is required.
verify.indentationIs(8);
goTo.marker("2");
verify.currentLineContentIs(" var s = \"hello\\");