add fixtures for #2613

This commit is contained in:
Paolo Moretti 2015-11-03 16:52:27 +00:00
parent 30311d121e
commit f5bbd09b49
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,18 @@
function multilineTemplate() {
return `I'm done reconfoobling
${ 'the energy motron' }
${'...or whatever'}`;
}
{
const foo = `spam
and eggs!`;
const bar = `${
4 +
2
}`;
const hello = `Hello
${ 'world' }`;
}

View File

@ -0,0 +1,15 @@
function multilineTemplate() {
return `I'm done reconfoobling
${ 'the energy motron' }
${ '...or whatever' }`;
}
{
const foo = `spam
and eggs!`;
const bar = `${ 4 + 2 }`;
const hello = `Hello
${ 'world' }`;
}