mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Merge pull request #2092 from Microsoft/formattingMultilineTemplateLiterals_regressionTest
regression test for formatting multiline template literals
This commit is contained in:
commit
de967ac191
13
tests/cases/fourslash/formattingMultilineTemplateLiterals.ts
Normal file
13
tests/cases/fourslash/formattingMultilineTemplateLiterals.ts
Normal file
@ -0,0 +1,13 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
/////*1*/new Error(`Failed to expand glob: ${projectSpec.filesGlob}
|
||||
/////*2*/ at projectPath : ${projectFile}
|
||||
/////*3*/ with error: ${ex.message}`)
|
||||
|
||||
format.document();
|
||||
goTo.marker("1");
|
||||
verify.currentLineContentIs("new Error(`Failed to expand glob: ${projectSpec.filesGlob}");
|
||||
goTo.marker("2");
|
||||
verify.currentLineContentIs(" at projectPath : ${projectFile}");
|
||||
goTo.marker("3");
|
||||
verify.currentLineContentIs(" with error: ${ex.message}`)");
|
||||
Loading…
x
Reference in New Issue
Block a user