Skip to content

Commit b614985

Browse files
committed
Update require-render-return.js
1 parent af9ba40 commit b614985

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

tests/lib/rules/require-render-return.js

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,10 @@ ruleTester.run('require-render-return', rule, {
140140
errors: [
141141
{
142142
message: 'Expected to return a value in render function.',
143-
line: 2
143+
line: 2,
144+
column: 9,
145+
endLine: 2,
146+
endColumn: 15
144147
}
145148
]
146149
},
@@ -157,7 +160,10 @@ ruleTester.run('require-render-return', rule, {
157160
errors: [
158161
{
159162
message: 'Expected to return a value in render function.',
160-
line: 2
163+
line: 2,
164+
column: 9,
165+
endLine: 2,
166+
endColumn: 15
161167
}
162168
]
163169
},
@@ -173,7 +179,10 @@ ruleTester.run('require-render-return', rule, {
173179
errors: [
174180
{
175181
message: 'Expected to return a value in render function.',
176-
line: 2
182+
line: 2,
183+
column: 9,
184+
endLine: 2,
185+
endColumn: 15
177186
}
178187
]
179188
},
@@ -189,7 +198,10 @@ ruleTester.run('require-render-return', rule, {
189198
errors: [
190199
{
191200
message: 'Expected to return a value in render function.',
192-
line: 2
201+
line: 2,
202+
column: 9,
203+
endLine: 2,
204+
endColumn: 15
193205
}
194206
]
195207
},
@@ -205,7 +217,10 @@ ruleTester.run('require-render-return', rule, {
205217
errors: [
206218
{
207219
message: 'Expected to return a value in render function.',
208-
line: 2
220+
line: 2,
221+
column: 9,
222+
endLine: 2,
223+
endColumn: 15
209224
}
210225
]
211226
},
@@ -223,7 +238,10 @@ ruleTester.run('require-render-return', rule, {
223238
errors: [
224239
{
225240
message: 'Expected to return a value in render function.',
226-
line: 2
241+
line: 2,
242+
column: 9,
243+
endLine: 2,
244+
endColumn: 15
227245
}
228246
]
229247
}

0 commit comments

Comments
 (0)