From 029f70ba71a37ba8a2e93fc7cc439be131823cdb Mon Sep 17 00:00:00 2001 From: 7nik Date: Thu, 5 Feb 2026 01:40:55 +0200 Subject: [PATCH] tweak --- .../tests/runtime-xhtml/samples/comment-marker/_config.js | 2 +- .../tests/runtime-xhtml/samples/comment-marker/main.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}