TypeScript/tests/cases/fourslash/formattingOnModuleIndentation.ts

13 lines
359 B
TypeScript
Raw Normal View History

2015-03-02 23:41:44 +01:00
/// <reference path='fourslash.ts' />
//// module Foo {
//// export module A . B . C { }/**/
//// }
format.document();
goTo.bof();
verify.currentLineContentIs("module Foo {");
goTo.marker();
verify.currentLineContentIs(" export module A.B.C { }");
goTo.eof();
2014-07-13 01:04:16 +02:00
verify.currentLineContentIs("}");