TypeScript/tests/cases/fourslash/alignmentAfterFormattingOnMultilineExpressionAndParametersList.ts

26 lines
563 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
////class TestClass {
//// private testMethod1(param1: boolean,
//// param2/*1*/: boolean) {
//// }
////
//// public testMethod2(a: number, b: number, c: number) {
//// if (a === b) {
//// }
//// else if (a != c &&
//// a/*2*/ > b &&
//// b/*3*/ < c) {
//// }
////
//// }
////}
format.document();
goTo.marker("1");
verify.indentationIs(8);
goTo.marker("2");
verify.indentationIs(12);
goTo.marker("3");
verify.indentationIs(12);