TypeScript/tests/cases/fourslash/semicolonFormattingAfterArrayLiteral.ts

9 lines
192 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
////[1,2]/**/
goTo.marker();
edit.insert(";");
// Adding smicolon should format the innermost statement
verify.currentLineContentIs('[1, 2];');