Ensure we're actually testing for single quotes.

This commit is contained in:
Daniel Rosenwasser
2020-02-13 11:55:57 -08:00
parent 11e827ba84
commit 7d3ad0c8f6
@@ -0,0 +1,12 @@
/// <reference path='fourslash.ts' />
//// const foo = '/*x*/f/*y*/oobar is ' + (42 + 6) + ' years old'
goTo.select("x", "y");
edit.applyRefactor({
refactorName: "Convert to template string",
actionName: "Convert to template string",
actionDescription: ts.Diagnostics.Convert_to_template_string.message,
newContent:
`const foo = \`foobar is \${42 + 6} years old\``,
});