Skip to content

Commit 28e8b2f

Browse files
ST-DDTwaynzh
andauthored
test(dot-location): make tests more strict (#2824)
Co-authored-by: Wayne Zhang <waynzh19@gmail.com>
1 parent a2bfcb5 commit 28e8b2f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/lib/rules/dot-location.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ tester.run('dot-location', rule, {
4848
errors: [
4949
{
5050
message: 'Expected dot to be on same line as object.',
51-
line: 5
51+
line: 5,
52+
column: 13,
53+
endLine: 5,
54+
endColumn: 14
5255
}
5356
]
5457
},
@@ -71,7 +74,10 @@ tester.run('dot-location', rule, {
7174
errors: [
7275
{
7376
message: 'Expected dot to be on same line as property.',
74-
line: 4
77+
line: 4,
78+
column: 21,
79+
endLine: 4,
80+
endColumn: 22
7581
}
7682
]
7783
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy