Added tests

This commit is contained in:
Armando Aguirre 2018-05-21 18:22:13 -07:00
parent 0f7f9783dc
commit 0b18bdf590

View file

@ -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);