Add test for bad template string parsing

This commit is contained in:
Richard van Velzen
2016-01-19 19:21:53 +01:00
parent 5e78f20f1c
commit c80ec625ec

View File

@@ -0,0 +1,9 @@
template_strings: {
input: {
foo(
`<span>${contents}</span>`,
`<a href="${url}">${text}</a>`
);
}
expect_exact: "foo(`<span>${contents}</span>`,`<a href=\"${url}\">${text}</a>`);"
}