diff --git a/test/validator/samples/properties-computed-must-be-valid-function-names/errors.json b/test/validator/samples/properties-computed-must-be-valid-function-names/errors.json index c5ad38b51d..2b6a36ecd1 100644 --- a/test/validator/samples/properties-computed-must-be-valid-function-names/errors.json +++ b/test/validator/samples/properties-computed-must-be-valid-function-names/errors.json @@ -1,8 +1,8 @@ [{ - "message": "Computed property name \"hours-hyphen\" is invalid. Character '-' at position 14 is illegal in function identifiers", + "message": "Computed property name 'hours-hyphen' is invalid — must be a valid identifier such as hours_hyphen", "loc": { "line": 14, - "column": 6 + "column": 3 }, - "pos": 172 + "pos": 150 }]