diff --git a/src/compiler/compile/compiler_warnings.ts b/src/compiler/compile/compiler_warnings.ts index ad334504ad..d778ca1dbc 100644 --- a/src/compiler/compile/compiler_warnings.ts +++ b/src/compiler/compile/compiler_warnings.ts @@ -220,7 +220,7 @@ export default { }, invalid_rest_eachblock_binding: (rest_element_name: string) => ({ code: 'invalid-rest-eachblock-binding', - message: `The rest operator (...) will create a new object and binding '${rest_element_name}' with original object will not work` + message: `The rest operator (...) will create a new object and binding '${rest_element_name}' with the original object will not work` }), avoid_mouse_events_on_document: { code: 'avoid-mouse-events-on-document', diff --git a/test/validator/samples/rest-eachblock-binding-2/warnings.json b/test/validator/samples/rest-eachblock-binding-2/warnings.json index 143925f42f..174982f21b 100644 --- a/test/validator/samples/rest-eachblock-binding-2/warnings.json +++ b/test/validator/samples/rest-eachblock-binding-2/warnings.json @@ -1,7 +1,7 @@ [ { "code": "invalid-rest-eachblock-binding", - "message": "The rest operator (...) will create a new object and binding 'rest' with original object will not work", + "message": "The rest operator (...) will create a new object and binding 'rest' with the original object will not work", "start": { "line": 8, "column": 27 }, "end": { "line": 8, "column": 31 } } diff --git a/test/validator/samples/rest-eachblock-binding-3/warnings.json b/test/validator/samples/rest-eachblock-binding-3/warnings.json index 5c401b4864..3311d2afe4 100644 --- a/test/validator/samples/rest-eachblock-binding-3/warnings.json +++ b/test/validator/samples/rest-eachblock-binding-3/warnings.json @@ -1,7 +1,7 @@ [ { "code": "invalid-rest-eachblock-binding", - "message": "The rest operator (...) will create a new object and binding 'rest' with original object will not work", + "message": "The rest operator (...) will create a new object and binding 'rest' with the original object will not work", "start": { "line": 5, "column": 35 }, "end": { "line": 5, "column": 39 } } diff --git a/test/validator/samples/rest-eachblock-binding-nested-rest/warnings.json b/test/validator/samples/rest-eachblock-binding-nested-rest/warnings.json index 0c39c5e226..d935275edf 100644 --- a/test/validator/samples/rest-eachblock-binding-nested-rest/warnings.json +++ b/test/validator/samples/rest-eachblock-binding-nested-rest/warnings.json @@ -5,7 +5,7 @@ "column": 37, "line": 5 }, - "message": "The rest operator (...) will create a new object and binding 'third' with original object will not work", + "message": "The rest operator (...) will create a new object and binding 'third' with the original object will not work", "start": { "column": 32, "line": 5 @@ -17,7 +17,7 @@ "column": 50, "line": 5 }, - "message": "The rest operator (...) will create a new object and binding 'length' with original object will not work", + "message": "The rest operator (...) will create a new object and binding 'length' with the original object will not work", "start": { "column": 44, "line": 5 diff --git a/test/validator/samples/rest-eachblock-binding/warnings.json b/test/validator/samples/rest-eachblock-binding/warnings.json index bb3328fc63..992e8880d9 100644 --- a/test/validator/samples/rest-eachblock-binding/warnings.json +++ b/test/validator/samples/rest-eachblock-binding/warnings.json @@ -1,7 +1,7 @@ [ { "code": "invalid-rest-eachblock-binding", - "message": "The rest operator (...) will create a new object and binding 'rest' with original object will not work", + "message": "The rest operator (...) will create a new object and binding 'rest' with the original object will not work", "start": { "line": 5, "column": 28 }, "end": { "line": 5, "column": 32 } }