From c9f7298270d4e913a2bb6826f5f193d95bf34cd6 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 26 May 2026 12:29:40 -0400 Subject: [PATCH] chore: fix spelling in test (#18292) ugh i forgot to approve workflows in slop PR #18281 and now tests are failing --- .../samples/script-invalid-spread-attribute/warnings.json | 2 +- .../validator/samples/script-unknown-attribute/warnings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/svelte/tests/validator/samples/script-invalid-spread-attribute/warnings.json b/packages/svelte/tests/validator/samples/script-invalid-spread-attribute/warnings.json index c6748f711d..35045313ba 100644 --- a/packages/svelte/tests/validator/samples/script-invalid-spread-attribute/warnings.json +++ b/packages/svelte/tests/validator/samples/script-invalid-spread-attribute/warnings.json @@ -1,7 +1,7 @@ [ { "code": "script_unknown_attribute", - "message": "Unrecognized attribute — should be one of `generics`, `lang` or `module`. If this exists for a preprocessor, ensure that the preprocessor removes it", + "message": "Unrecognised attribute — should be one of `generics`, `lang` or `module`. If this exists for a preprocessor, ensure that the preprocessor removes it", "start": { "column": 8, "line": 1 diff --git a/packages/svelte/tests/validator/samples/script-unknown-attribute/warnings.json b/packages/svelte/tests/validator/samples/script-unknown-attribute/warnings.json index fdcad269a6..0d41c2dc12 100644 --- a/packages/svelte/tests/validator/samples/script-unknown-attribute/warnings.json +++ b/packages/svelte/tests/validator/samples/script-unknown-attribute/warnings.json @@ -1,7 +1,7 @@ [ { "code": "script_unknown_attribute", - "message": "Unrecognized attribute — should be one of `generics`, `lang` or `module`. If this exists for a preprocessor, ensure that the preprocessor removes it", + "message": "Unrecognised attribute — should be one of `generics`, `lang` or `module`. If this exists for a preprocessor, ensure that the preprocessor removes it", "start": { "column": 8, "line": 1