@@ -66,7 +66,10 @@ tester.run('no-deprecated-slot-scope-attribute', rule, {
66
66
errors : [
67
67
{
68
68
message : '`slot-scope` are deprecated.' ,
69
- line : 4
69
+ line : 4 ,
70
+ column : 21 ,
71
+ endLine : 4 ,
72
+ endColumn : 31
70
73
}
71
74
]
72
75
} ,
@@ -86,7 +89,10 @@ tester.run('no-deprecated-slot-scope-attribute', rule, {
86
89
errors : [
87
90
{
88
91
message : '`slot-scope` are deprecated.' ,
89
- line : 4
92
+ line : 4 ,
93
+ column : 21 ,
94
+ endLine : 4 ,
95
+ endColumn : 31
90
96
}
91
97
]
92
98
} ,
@@ -106,7 +112,10 @@ tester.run('no-deprecated-slot-scope-attribute', rule, {
106
112
errors : [
107
113
{
108
114
message : '`slot-scope` are deprecated.' ,
109
- line : 4
115
+ line : 4 ,
116
+ column : 14 ,
117
+ endLine : 4 ,
118
+ endColumn : 24
110
119
}
111
120
]
112
121
} ,
@@ -121,7 +130,10 @@ tester.run('no-deprecated-slot-scope-attribute', rule, {
121
130
errors : [
122
131
{
123
132
message : '`slot-scope` are deprecated.' ,
124
- line : 4
133
+ line : 4 ,
134
+ column : 21 ,
135
+ endLine : 4 ,
136
+ endColumn : 31
125
137
}
126
138
]
127
139
} ,
@@ -136,7 +148,10 @@ tester.run('no-deprecated-slot-scope-attribute', rule, {
136
148
errors : [
137
149
{
138
150
message : '`slot-scope` are deprecated.' ,
139
- line : 4
151
+ line : 4 ,
152
+ column : 21 ,
153
+ endLine : 4 ,
154
+ endColumn : 31
140
155
}
141
156
]
142
157
} ,
@@ -150,7 +165,15 @@ tester.run('no-deprecated-slot-scope-attribute', rule, {
150
165
</my-component>
151
166
</template>` ,
152
167
output : null ,
153
- errors : [ '`slot-scope` are deprecated.' ]
168
+ errors : [
169
+ {
170
+ message : '`slot-scope` are deprecated.' ,
171
+ line : 4 ,
172
+ column : 37 ,
173
+ endLine : 4 ,
174
+ endColumn : 47
175
+ }
176
+ ]
154
177
} ,
155
178
{
156
179
code : `
@@ -163,7 +186,15 @@ tester.run('no-deprecated-slot-scope-attribute', rule, {
163
186
</my-component>
164
187
</template>` ,
165
188
output : null ,
166
- errors : [ '`slot-scope` are deprecated.' ]
189
+ errors : [
190
+ {
191
+ message : '`slot-scope` are deprecated.' ,
192
+ line : 4 ,
193
+ column : 21 ,
194
+ endLine : 4 ,
195
+ endColumn : 31
196
+ }
197
+ ]
167
198
}
168
199
]
169
200
} )
0 commit comments