Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit cb2ae5b

Browse files
authored
test(no-deprecated-slot-attribute): make tests more strict (#2880)
1 parent 3b67050 commit cb2ae5b

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

‎tests/lib/rules/no-deprecated-slot-attribute.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,8 +686,20 @@ tester.run('no-deprecated-slot-attribute', rule, {
686686
</my-component>
687687
</template>`,
688688
errors: [
689-
'`slot` attributes are deprecated.',
690-
'`slot` attributes are deprecated.'
689+
{
690+
message: '`slot` attributes are deprecated.',
691+
line: 4,
692+
column: 30,
693+
endLine: 4,
694+
endColumn: 34
695+
},
696+
{
697+
message: '`slot` attributes are deprecated.',
698+
line: 7,
699+
column: 28,
700+
endLine: 7,
701+
endColumn: 32
702+
}
691703
]
692704
},
693705
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /