Skip to content

Commit 1f59ac9

Browse files
authored
test(no-deprecated-scope-attribute): make tests more strict (#2879)
1 parent cb2ae5b commit 1f59ac9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/lib/rules/no-deprecated-scope-attribute.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ tester.run('no-deprecated-scope-attribute', rule, {
6666
errors: [
6767
{
6868
message: '`scope` attributes are deprecated.',
69-
line: 4
69+
line: 4,
70+
column: 21,
71+
endLine: 4,
72+
endColumn: 26
7073
}
7174
]
7275
},
@@ -90,7 +93,10 @@ tester.run('no-deprecated-scope-attribute', rule, {
9093
errors: [
9194
{
9295
message: '`scope` attributes are deprecated.',
93-
line: 4
96+
line: 4,
97+
column: 33,
98+
endLine: 4,
99+
endColumn: 38
94100
}
95101
]
96102
}

0 commit comments

Comments
 (0)