Skip to content

Commit 94ebee2

Browse files
committed
test(max-lines-per-block): make tests more strict
1 parent 0720339 commit 94ebee2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/lib/rules/max-lines-per-block.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ tester.run('max-lines-per-block', rule, {
5959
{
6060
message: 'Block has too many lines (2). Maximum allowed is 1.',
6161
line: 2,
62-
column: 7
62+
column: 7,
63+
endLine: 5,
64+
endColumn: 18
6365
}
6466
]
6567
},
@@ -76,7 +78,9 @@ tester.run('max-lines-per-block', rule, {
7678
{
7779
message: 'Block has too many lines (2). Maximum allowed is 1.',
7880
line: 2,
79-
column: 7
81+
column: 7,
82+
endLine: 6,
83+
endColumn: 16
8084
}
8185
]
8286
}

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