From d5d9adb3c4664040b8f66ad4669ed635e8ee4bd1 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Sun, 20 Jul 2025 22:43:33 +0200 Subject: [PATCH] test(dot-location): make tests more strict --- tests/lib/rules/dot-location.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/lib/rules/dot-location.js b/tests/lib/rules/dot-location.js index b2002d185..fada8d3ef 100644 --- a/tests/lib/rules/dot-location.js +++ b/tests/lib/rules/dot-location.js @@ -48,7 +48,10 @@ tester.run('dot-location', rule, { errors: [ { message: 'Expected dot to be on same line as object.', - line: 5 + line: 5, + column: 13, + endLine: 5, + endColumn: 14 } ] }, @@ -71,7 +74,10 @@ tester.run('dot-location', rule, { errors: [ { message: 'Expected dot to be on same line as property.', - line: 4 + line: 4, + column: 21, + endLine: 4, + endColumn: 22 } ] }