diff --git a/packages/svelte/tests/runtime-xhtml/samples/comment-marker/_config.js b/packages/svelte/tests/runtime-xhtml/samples/comment-marker/_config.js index d830c64b1f..e8fdaff1eb 100644 --- a/packages/svelte/tests/runtime-xhtml/samples/comment-marker/_config.js +++ b/packages/svelte/tests/runtime-xhtml/samples/comment-marker/_config.js @@ -3,7 +3,7 @@ import { test } from '../../test'; export default test({ mode: ['server'], test_ssr({ assert, html }) { - assert.htmlEqualWithOptions(html.body, 'foo', { + assert.htmlEqualWithOptions(html.body, '12', { preserveComments: true, withoutNormalizeHtml: true }); diff --git a/packages/svelte/tests/runtime-xhtml/samples/comment-marker/main.svelte b/packages/svelte/tests/runtime-xhtml/samples/comment-marker/main.svelte index 4114ed42ad..8dd87ce81e 100644 --- a/packages/svelte/tests/runtime-xhtml/samples/comment-marker/main.svelte +++ b/packages/svelte/tests/runtime-xhtml/samples/comment-marker/main.svelte @@ -1 +1 @@ -{#if 1}foo{/if} +{#each [1,2] as i}{i}{/each}