From 2b4a6489f99e602978727fe343350403cf9f0b05 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Wed, 30 Jul 2025 23:20:25 +0200 Subject: [PATCH] test(no-child-content): make tests more strict --- tests/lib/rules/no-child-content.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/lib/rules/no-child-content.js b/tests/lib/rules/no-child-content.js index 1be1e3c07..d991559b3 100644 --- a/tests/lib/rules/no-child-content.js +++ b/tests/lib/rules/no-child-content.js @@ -74,7 +74,9 @@ ruleTester.run('no-child-content', rule, { { message: 'Child content is disallowed because it will be overwritten by the v-html directive.', + line: 1, column: 29, + endLine: 1, endColumn: 32, suggestions: [ { @@ -93,7 +95,9 @@ ruleTester.run('no-child-content', rule, { { message: 'Child content is disallowed because it will be overwritten by the v-html directive.', + line: 1, column: 29, + endLine: 1, endColumn: 38, suggestions: [ { @@ -112,7 +116,9 @@ ruleTester.run('no-child-content', rule, { { message: 'Child content is disallowed because it will be overwritten by the v-html directive.', + line: 1, column: 29, + endLine: 1, endColumn: 37, suggestions: [ { @@ -131,7 +137,9 @@ ruleTester.run('no-child-content', rule, { { message: 'Child content is disallowed because it will be overwritten by the v-html directive.', + line: 1, column: 29, + endLine: 1, endColumn: 41, suggestions: [ { @@ -183,7 +191,9 @@ ruleTester.run('no-child-content', rule, { { message: 'Child content is disallowed because it will be overwritten by the v-text directive.', + line: 1, column: 29, + endLine: 1, endColumn: 32, suggestions: [ { @@ -203,7 +213,9 @@ ruleTester.run('no-child-content', rule, { { message: 'Child content is disallowed because it will be overwritten by the v-t directive.', + line: 1, column: 26, + endLine: 1, endColumn: 29, suggestions: [ { @@ -223,7 +235,9 @@ ruleTester.run('no-child-content', rule, { { message: 'Child content is disallowed because it will be overwritten by the v-html directive.', + line: 1, column: 29, + endLine: 1, endColumn: 32, suggestions: [ {