Skip to content

Commit e0683fd

Browse files
ST-DDTFloEdelmann
andauthored
test(no-deprecated-html-element-is): make tests more strict (#2876)
Co-authored-by: Flo Edelmann <[email protected]>
1 parent aca04e5 commit e0683fd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/lib/rules/no-deprecated-html-element-is.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ ruleTester.run('no-deprecated-html-element-is', rule, {
4343
code: '<template><div is="foo" /></template>',
4444
errors: [
4545
{
46+
messageId: 'unexpected',
4647
line: 1,
4748
column: 16,
48-
messageId: 'unexpected',
4949
endLine: 1,
5050
endColumn: 24
5151
}
@@ -56,9 +56,11 @@ ruleTester.run('no-deprecated-html-element-is', rule, {
5656
code: '<template><div :is="foo" /></template>',
5757
errors: [
5858
{
59+
messageId: 'unexpected',
5960
line: 1,
6061
column: 16,
61-
messageId: 'unexpected'
62+
endLine: 1,
63+
endColumn: 25
6264
}
6365
]
6466
}

0 commit comments

Comments
 (0)