mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 15:45:27 -05:00
Merge pull request #1416 from Microsoft/inherited_deltas
inherit delta from nodes on the same line
This commit is contained in:
11
tests/cases/fourslash/formattingExpressionsInIfCondition.ts
Normal file
11
tests/cases/fourslash/formattingExpressionsInIfCondition.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////if (a === 1 ||
|
||||
//// /*0*/b === 2 ||/*1*/
|
||||
//// c === 3) {
|
||||
////}
|
||||
|
||||
goTo.marker("1");
|
||||
edit.insert("\n");
|
||||
goTo.marker("0");
|
||||
verify.currentLineContentIs(" b === 2 ||");
|
||||
Reference in New Issue
Block a user