File tree 1 file changed +2
-2
lines changed
packages/compiler-core/__tests__/transforms
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ describe('compiler: v-for', () => {
304
304
305
305
test ( 'missing source' , ( ) => {
306
306
const onError = vi . fn ( )
307
- parseWithForTransform ( '<span v-for="item in" />' , { onError } )
307
+ parseWithForTransform ( '<span v-for="item in " />' , { onError } )
308
308
309
309
expect ( onError ) . toHaveBeenCalledTimes ( 1 )
310
310
expect ( onError ) . toHaveBeenCalledWith (
@@ -328,7 +328,7 @@ describe('compiler: v-for', () => {
328
328
329
329
test ( 'missing value' , ( ) => {
330
330
const onError = vi . fn ( )
331
- parseWithForTransform ( '<span v-for="in items" />' , { onError } )
331
+ parseWithForTransform ( '<span v-for=" in items" />' , { onError } )
332
332
333
333
expect ( onError ) . toHaveBeenCalledTimes ( 1 )
334
334
expect ( onError ) . toHaveBeenCalledWith (
You can’t perform that action at this time.
0 commit comments