Merge pull request #2092 from Microsoft/formattingMultilineTemplateLiterals_regressionTest

regression test for formatting multiline template literals
This commit is contained in:
Vladimir Matveev 2015-02-19 23:53:35 -08:00
commit de967ac191

View 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}`)");