TypeScript/tests/cases/fourslash/refactorConvertStringOrTemplateLiteral_ToTemplateBackTick.ts
Daniel Rosenwasser 210090b483
No template refactor on plain strings (#36785)
* Add/convert to failing tests.

* Stop offering to convert single string literals to template expressions.

* Ensure we're actually testing for single quotes.
2020-02-13 12:22:53 -08:00

7 lines
194 B
TypeScript

/// <reference path='fourslash.ts' />
//// const foo = "/*x*/w/*y*/ith back`tick"
goTo.select("x", "y");
verify.not.refactorAvailable(ts.Diagnostics.Convert_to_template_string.message);