Skip to content

Commit 5964602

Browse files
authored
test(max-lines-per-block): make tests more strict (#2848)
1 parent 3ed613c commit 5964602

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)