TypeScript/tests/cases/fourslash/smartIndentAfterNewExpression.ts

18 lines
382 B
TypeScript
Raw Normal View History

2015-03-17 07:19:21 +01:00
/// <reference path="fourslash.ts"/>
////
////new Array
////{| "indent": 0 |}
////new Array;
////{| "indent": 0 |}
////new Array(0);
////{| "indent": 0 |}
////new Array(;
////{| "indent": 0 |}
////new Array(
////{| "indent": 4 |}
test.markers().forEach(marker => {
verify.indentationAtPositionIs(marker.fileName, marker.position, marker.data.indent);
});