From 7a7f50a2f590e89c93781047044000eb265b5979 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Mon, 27 Feb 2023 16:25:12 +0100 Subject: [PATCH] fix tests --- test/validator/samples/assignment-to-const-5/errors.json | 9 +++------ test/validator/samples/assignment-to-const-7/errors.json | 9 +++------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/test/validator/samples/assignment-to-const-5/errors.json b/test/validator/samples/assignment-to-const-5/errors.json index 21de70863c..bca92bf266 100644 --- a/test/validator/samples/assignment-to-const-5/errors.json +++ b/test/validator/samples/assignment-to-const-5/errors.json @@ -4,14 +4,11 @@ "message": "You are assigning to a const", "start": { "line": 3, - "column": 1, - "character": 31 + "column": 1 }, "end": { "line": 3, - "column": 33, - "character": 63 - }, - "pos": 31 + "column": 33 + } } ] \ No newline at end of file diff --git a/test/validator/samples/assignment-to-const-7/errors.json b/test/validator/samples/assignment-to-const-7/errors.json index 34c88bebf6..5304a61c4b 100644 --- a/test/validator/samples/assignment-to-const-7/errors.json +++ b/test/validator/samples/assignment-to-const-7/errors.json @@ -4,14 +4,11 @@ "message": "You are assigning to a const", "start": { "line": 3, - "column": 1, - "character": 43 + "column": 1 }, "end": { "line": 3, - "column": 42, - "character": 84 - }, - "pos": 43 + "column": 42 + } } ] \ No newline at end of file