2015-03-02 23:41:44 +01:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
////module A
|
|
|
|
////{
|
|
|
|
//// class B {
|
|
|
|
//// /*1*/
|
|
|
|
////}
|
|
|
|
|
|
|
|
format.setOption("PlaceOpenBraceOnNewLineForControlBlocks", true);
|
|
|
|
format.setOption("PlaceOpenBraceOnNewLineForFunctions", true);
|
|
|
|
goTo.marker("1");
|
|
|
|
edit.insert("}");
|
|
|
|
|
|
|
|
verify.currentFileContentIs(
|
|
|
|
"module A\n\
|
|
|
|
{\n\
|
|
|
|
class B\n\
|
|
|
|
{\n\
|
|
|
|
}\n\
|
|
|
|
}"
|
2014-11-28 04:03:50 +01:00
|
|
|
);
|