Skip to content

Commit de967ac

Browse files
committed
Merge pull request microsoft#2092 from Microsoft/formattingMultilineTemplateLiterals_regressionTest
regression test for formatting multiline template literals
2 parents fa85b22 + 14d0810 commit de967ac

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/// <reference path='fourslash.ts'/>
2+
3+
/////*1*/new Error(`Failed to expand glob: ${projectSpec.filesGlob}
4+
/////*2*/ at projectPath : ${projectFile}
5+
/////*3*/ with error: ${ex.message}`)
6+
7+
format.document();
8+
goTo.marker("1");
9+
verify.currentLineContentIs("new Error(`Failed to expand glob: ${projectSpec.filesGlob}");
10+
goTo.marker("2");
11+
verify.currentLineContentIs(" at projectPath : ${projectFile}");
12+
goTo.marker("3");
13+
verify.currentLineContentIs(" with error: ${ex.message}`)");

0 commit comments

Comments
 (0)