From f4c4d99e136831934364d89f032922881feb7bc0 Mon Sep 17 00:00:00 2001 From: Nguyen Tran <88808276+ngtr6788@users.noreply.github.com> Date: Mon, 7 Aug 2023 03:35:16 -0400 Subject: [PATCH] fix: add test so #6009 doesn't regress (#9075) closes #6009 --- .../input.svelte | 7 +++++++ .../warnings.json | 1 + 2 files changed, 8 insertions(+) create mode 100644 packages/svelte/test/validator/samples/no-missing-declarations-for-same-node-let-variable/input.svelte create mode 100644 packages/svelte/test/validator/samples/no-missing-declarations-for-same-node-let-variable/warnings.json diff --git a/packages/svelte/test/validator/samples/no-missing-declarations-for-same-node-let-variable/input.svelte b/packages/svelte/test/validator/samples/no-missing-declarations-for-same-node-let-variable/input.svelte new file mode 100644 index 0000000000..c3c3319309 --- /dev/null +++ b/packages/svelte/test/validator/samples/no-missing-declarations-for-same-node-let-variable/input.svelte @@ -0,0 +1,7 @@ + + + + + diff --git a/packages/svelte/test/validator/samples/no-missing-declarations-for-same-node-let-variable/warnings.json b/packages/svelte/test/validator/samples/no-missing-declarations-for-same-node-let-variable/warnings.json new file mode 100644 index 0000000000..fe51488c70 --- /dev/null +++ b/packages/svelte/test/validator/samples/no-missing-declarations-for-same-node-let-variable/warnings.json @@ -0,0 +1 @@ +[]