aboutsummaryrefslogtreecommitdiff
path: root/test/bundler/transpiler.test.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/bundler/transpiler.test.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/bundler/transpiler.test.js b/test/bundler/transpiler.test.js
index da7a7d00d..cde968f80 100644
--- a/test/bundler/transpiler.test.js
+++ b/test/bundler/transpiler.test.js
@@ -2952,6 +2952,9 @@ console.log(foo, array);
it('`str` + "``"', () => {
expectPrinted_('const x = `str` + "``";', "const x = `str\\`\\``");
+ expectPrinted_('const x = `` + "`";', "const x = `\\``");
+ expectPrinted_('const x = `` + "``";', "const x = `\\`\\``");
+ expectPrinted_('const x = "``" + ``;', 'const x = "``"');
});
});
});