TypeScript/tests/cases/fourslash/forceIndentAfterNewLineInsert.ts

24 lines
371 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
///<reference path="fourslash.ts"/>
2017-06-20 05:30:11 +02:00
////function f1()
2014-07-13 01:04:16 +02:00
////{ return 0; }
2017-06-20 05:30:11 +02:00
////function f2()
////{
////return 0;
////}
2014-07-13 01:04:16 +02:00
////function g()
////{ function h() {
////return 0;
////}}
format.document();
verify.currentFileContentIs(
2017-06-20 05:30:11 +02:00
`function f1() { return 0; }
function f2() {
return 0;
}
function g() {
function h() {
return 0;
}
}`);