TypeScript/tests/cases/fourslash/formattingElseInsideAFunction.ts
2014-07-29 12:17:23 -07:00

15 lines
318 B
TypeScript

/// <reference path='fourslash.ts' />
////var x = function() {
//// if (true) {
//// /*1*/} else {/*2*/
////}
////
////// newline at the end of the file
goTo.marker("2");
edit.insertLine("");
goTo.marker("1");
// else formating should not be affected
verify.currentLineContentIs(' } else {');