From e3ee25a30da3131faf133ffcd9b25db464f948a2 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Fri, 25 Jul 2025 18:45:08 +0200 Subject: [PATCH] test(first-attribute-linebreak): make tests more strict --- tests/lib/rules/first-attribute-linebreak.js | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/tests/lib/rules/first-attribute-linebreak.js b/tests/lib/rules/first-attribute-linebreak.js index a322aa498..23dd84cf4 100644 --- a/tests/lib/rules/first-attribute-linebreak.js +++ b/tests/lib/rules/first-attribute-linebreak.js @@ -161,7 +161,9 @@ name="John Doe" { message: 'Expected a linebreak before this attribute.', line: 8, - column: 20 + column: 20, + endLine: 8, + endColumn: 35 } ] }, @@ -203,12 +205,16 @@ name="John Doe" { message: 'Expected no linebreak before this attribute.', line: 4, - column: 11 + column: 11, + endLine: 4, + endColumn: 26 }, { message: 'Expected no linebreak before this attribute.', line: 13, - column: 11 + column: 11, + endLine: 13, + endColumn: 26 } ] }, @@ -254,12 +260,16 @@ name="John Doe" { message: 'Expected a linebreak before this attribute.', line: 8, - column: 20 + column: 20, + endLine: 8, + endColumn: 35 }, { message: 'Expected a linebreak before this attribute.', line: 15, - column: 20 + column: 20, + endLine: 15, + endColumn: 35 } ] }