From ded9f0590103835d6186a820640d6a2af1a8f9a4 Mon Sep 17 00:00:00 2001 From: ComputerGuy <63362464+Ocean-OS@users.noreply.github.com> Date: Thu, 23 Oct 2025 21:44:44 -0700 Subject: [PATCH] fix one test --- .../samples/class-state-constructor-7/errors.json | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/packages/svelte/tests/validator/samples/class-state-constructor-7/errors.json b/packages/svelte/tests/validator/samples/class-state-constructor-7/errors.json index 64e56f8d5c..fe51488c70 100644 --- a/packages/svelte/tests/validator/samples/class-state-constructor-7/errors.json +++ b/packages/svelte/tests/validator/samples/class-state-constructor-7/errors.json @@ -1,14 +1 @@ -[ - { - "code": "state_invalid_placement", - "message": "`$state(...)` can only be used as a variable declaration initializer, a class field declaration, or the first assignment to a class field at the top level of the constructor.", - "start": { - "line": 5, - "column": 16 - }, - "end": { - "line": 5, - "column": 25 - } - } -] +[]