failing test for #3343

pull/3345/head
Richard Harris 6 years ago
parent fb37b06286
commit 97d835b43c

@ -0,0 +1,46 @@
/* generated by Svelte vX.Y.Z */
import {
SvelteComponent,
detach,
element,
init,
insert,
noop,
safe_not_equal
} from "svelte/internal";
function create_fragment(ctx) {
var div;
return {
c() {
div = element("div");
div.innerHTML = `<span class="a/${answer}"></span>`;
},
m(target, anchor) {
insert(target, div, anchor);
},
p: noop,
i: noop,
o: noop,
d(detaching) {
if (detaching) {
detach(div);
}
}
};
}
const answer = 42;
class Component extends SvelteComponent {
constructor(options) {
super();
init(this, options, null, create_fragment, safe_not_equal, []);
}
}
export default Component;

@ -0,0 +1,7 @@
<script>
const answer = 42;
</script>
<div>
<span class="a/{answer}"/>
</div>
Loading…
Cancel
Save