/// <reference path='fourslash.ts' />

////const foo = 1;
////const bar = /*start*/"a " + `${foo}` + " b " + " c"/*end*/;

goTo.select("start", "end");
edit.applyRefactor({
    refactorName: "Convert to template string",
    actionName: "Convert to template string",
    actionDescription: ts.Diagnostics.Convert_to_template_string.message,
    newContent: [
        "const foo = 1;",
        "const bar = `a ${foo} b  c`;"
    ].join("\n")
});
