Added tests
This commit is contained in:
parent
0f7f9783dc
commit
0b18bdf590
|
@ -0,0 +1,18 @@
|
|||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
//// var a =
|
||||
//// {/*1*/}
|
||||
////
|
||||
//// var b = {
|
||||
//// outer:
|
||||
//// {/*2*/}
|
||||
//// }
|
||||
|
||||
function verifyIndentationAfterNewLine(marker: string, indentation: number): void {
|
||||
goTo.marker(marker);
|
||||
edit.insert("\n");
|
||||
verify.indentationIs(indentation);
|
||||
}
|
||||
|
||||
verifyIndentationAfterNewLine("1", 0);
|
||||
verifyIndentationAfterNewLine("2", 4);
|
Loading…
Reference in a new issue