From f2c7051853848826aac2f4646581d62a732155ad Mon Sep 17 00:00:00 2001
From: Abdul Wahab
Date: Wed, 16 Sep 2026 17:50:25 +0500
Subject: [PATCH] Fix: drop discard blank lines from live-accept oracle goldens
(#793)
The four discard goldens encoded the wrapper newlines as empty lines around the restored element. Re-recorded from the engine so they match the trim in extract_original.
Written with AI assistance.
Co-authored-by: Cursor
---
tests/oracle/golden/live-accept-html-discard-then-accept.json | 2 +-
tests/oracle/golden/live-accept-html-discard.json | 2 +-
tests/oracle/golden/live-accept-jsx-discard.json | 2 +-
.../golden/live-accept-svelte-fallback-source-wrapper.json | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/oracle/golden/live-accept-html-discard-then-accept.json b/tests/oracle/golden/live-accept-html-discard-then-accept.json
index f0e035f5b..e9b534adf 100644
--- a/tests/oracle/golden/live-accept-html-discard-then-accept.json
+++ b/tests/oracle/golden/live-accept-html-discard-then-accept.json
@@ -16,6 +16,6 @@
"files": {
".impeccable/live/accept-receipts/ab12cd34.json": "{\n \"id\": \"ab12cd34\",\n \"operation\": \"discard\",\n \"variantId\": null,\n \"result\": {\n \"handled\": true,\n \"file\": \"index.html\",\n \"carbonize\": false\n },\n \"completedAt\": \"\"\n}\n",
".impeccable/live/config.json": "{\n \"files\": [\"index.html\", \"public/**/*.html\"],\n \"insertBefore\": \"
\n \n\n Oracle Fixture
\n\n Minimal static page for oracle live-mode goldens.
\n \n \n \n