From cf3b86aede0852f19c63142f6e5509f20c6bf12f Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 10 Aug 2024 12:28:34 -0400 Subject: [PATCH] failing test --- .../tests/hydration/samples/safari-borking-2/Child.svelte | 6 ++++++ .../tests/hydration/samples/safari-borking-2/_config.js | 5 +++++ .../tests/hydration/samples/safari-borking-2/_override.html | 1 + .../tests/hydration/samples/safari-borking-2/main.svelte | 6 ++++++ 4 files changed, 18 insertions(+) create mode 100644 packages/svelte/tests/hydration/samples/safari-borking-2/Child.svelte create mode 100644 packages/svelte/tests/hydration/samples/safari-borking-2/_config.js create mode 100644 packages/svelte/tests/hydration/samples/safari-borking-2/_override.html create mode 100644 packages/svelte/tests/hydration/samples/safari-borking-2/main.svelte diff --git a/packages/svelte/tests/hydration/samples/safari-borking-2/Child.svelte b/packages/svelte/tests/hydration/samples/safari-borking-2/Child.svelte new file mode 100644 index 0000000000..a62bd4ec90 --- /dev/null +++ b/packages/svelte/tests/hydration/samples/safari-borking-2/Child.svelte @@ -0,0 +1,6 @@ + + +
+{message} diff --git a/packages/svelte/tests/hydration/samples/safari-borking-2/_config.js b/packages/svelte/tests/hydration/samples/safari-borking-2/_config.js new file mode 100644 index 0000000000..cf22ff2c85 --- /dev/null +++ b/packages/svelte/tests/hydration/samples/safari-borking-2/_config.js @@ -0,0 +1,5 @@ +import { test } from '../../test'; + +export default test({ + expect_hydration_error: true +}); diff --git a/packages/svelte/tests/hydration/samples/safari-borking-2/_override.html b/packages/svelte/tests/hydration/samples/safari-borking-2/_override.html new file mode 100644 index 0000000000..17ec01970a --- /dev/null +++ b/packages/svelte/tests/hydration/samples/safari-borking-2/_override.html @@ -0,0 +1 @@ +
call +636-555-3226 now

42

diff --git a/packages/svelte/tests/hydration/samples/safari-borking-2/main.svelte b/packages/svelte/tests/hydration/samples/safari-borking-2/main.svelte new file mode 100644 index 0000000000..daa25067ec --- /dev/null +++ b/packages/svelte/tests/hydration/samples/safari-borking-2/main.svelte @@ -0,0 +1,6 @@ + + + +

{40 + 2}