TypeScript/tests/cases/fourslash/semicolonFormattingAfterArrayLiteral.ts
2014-07-29 12:17:23 -07:00

9 lines
192 B
TypeScript

/// <reference path='fourslash.ts' />
////[1,2]/**/
goTo.marker();
edit.insert(";");
// Adding smicolon should format the innermost statement
verify.currentLineContentIs('[1, 2];');