aboutsummaryrefslogtreecommitdiff
path: root/test/transpiler/transpiler.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/transpiler/transpiler.test.js')
-rw-r--r--test/transpiler/transpiler.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transpiler/transpiler.test.js b/test/transpiler/transpiler.test.js
index f83c00296..8c77dffe6 100644
--- a/test/transpiler/transpiler.test.js
+++ b/test/transpiler/transpiler.test.js
@@ -2809,7 +2809,7 @@ console.log(foo, array);
expectPrinted("'string' + `template`", `"stringtemplate"`);
- expectPrinted("`template` + 'string'", "`templatestring`");
+ expectPrinted("`template` + 'string'", '"templatestring"');
// TODO: string template simplification
// expectPrinted("'string' + `a${foo}b`", "`stringa${foo}b`");
@@ -3088,7 +3088,7 @@ console.log(foo, array);
expectPrinted_('const x = `str` + "``";', "const x = `str\\`\\``");
expectPrinted_('const x = `` + "`";', "const x = `\\``");
expectPrinted_('const x = `` + "``";', "const x = `\\`\\``");
- expectPrinted_('const x = "``" + ``;', 'const x = "``"');
+ expectPrinted_('const x = "``" + ``;', "const x = `\\`\\``");
});
});