TypeScript/tests/cases/fourslash/semicolonFormattingInsideAStringLiteral.ts

11 lines
250 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
//// var x = "string/**/
goTo.marker();
edit.insert(';');
// Semicolon Formating should not be triggered inside an unterminated string literal
verify.currentLineContentIs(' var x = "string;');