TypeScript/tests/cases/fourslash/smartIndentInterface.ts

14 lines
379 B
TypeScript
Raw Normal View History

2015-03-02 23:41:44 +01:00
/// <reference path='fourslash.ts'/>
////interface Foo {
//// {| "indentation" : 4 |}
//// x: number;
//// {| "indentation" : 4 |}
//// foo(): number;
//// {| "indentation" : 4 |}
////}
////{| "indentation" : 0 |}
2014-07-13 01:04:16 +02:00
test.markers().forEach((marker) => {
2015-03-02 23:41:44 +01:00
verify.indentationAtPositionIs(marker.fileName, marker.position, marker.data.indentation);
2014-07-13 01:04:16 +02:00
});