mirror of https://github.com/sveltejs/svelte
parent
84305cf2a9
commit
941514506b
@ -0,0 +1,6 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
// https://github.com/sveltejs/svelte/issues/15819
|
||||
export default test({
|
||||
expect_hydration_error: true
|
||||
});
|
@ -0,0 +1 @@
|
||||
<p>start</p><p>cond</p><!---->
|
@ -0,0 +1 @@
|
||||
<!--[--> <p>start</p><!--[--><p>cond</p><!--]--><!--]-->
|
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
const cond = true;
|
||||
</script>
|
||||
|
||||
<p>start</p>{#if cond}<p>cond</p>{/if}
|
@ -0,0 +1,6 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
// https://github.com/sveltejs/svelte/issues/15819
|
||||
export default test({
|
||||
expect_hydration_error: true
|
||||
});
|
@ -0,0 +1 @@
|
||||
<p>start</p> pre123 mid<!---->
|
@ -0,0 +1 @@
|
||||
<!--[--><p>start</p>pre<a>123</a> <!--[-->mid<!--]--><!--]-->
|
@ -0,0 +1,9 @@
|
||||
<script>
|
||||
let cond = true;
|
||||
</script>
|
||||
|
||||
<p>start</p>
|
||||
pre123
|
||||
{#if cond}
|
||||
mid
|
||||
{/if}
|
Loading…
Reference in new issue