From 594e43e2e66d8a063e82ba6d992042bd105d4c76 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Wed, 30 Jul 2025 23:27:23 +0200 Subject: [PATCH] test(no-computed-properties-in-data): make tests more strict --- tests/lib/rules/no-computed-properties-in-data.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/lib/rules/no-computed-properties-in-data.js b/tests/lib/rules/no-computed-properties-in-data.js index 769731804..9eb32e973 100644 --- a/tests/lib/rules/no-computed-properties-in-data.js +++ b/tests/lib/rules/no-computed-properties-in-data.js @@ -97,7 +97,9 @@ tester.run('no-computed-properties-in-data', rule, { message: 'The computed property cannot be used in `data()` because it is before initialization.', line: 5, - column: 23 + column: 23, + endLine: 5, + endColumn: 31 } ] }, @@ -122,7 +124,9 @@ tester.run('no-computed-properties-in-data', rule, { message: 'The computed property cannot be used in `data()` because it is before initialization.', line: 6, - column: 23 + column: 23, + endLine: 6, + endColumn: 29 } ] }