File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/compiler-core/__tests__/transforms Expand file tree Collapse file tree 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', () => {
304304
305305 test ( 'missing source' , ( ) => {
306306 const onError = vi . fn ( )
307- parseWithForTransform ( '<span v-for="item in" />' , { onError } )
307+ parseWithForTransform ( '<span v-for="item in " />' , { onError } )
308308
309309 expect ( onError ) . toHaveBeenCalledTimes ( 1 )
310310 expect ( onError ) . toHaveBeenCalledWith (
@@ -328,7 +328,7 @@ describe('compiler: v-for', () => {
328328
329329 test ( 'missing value' , ( ) => {
330330 const onError = vi . fn ( )
331- parseWithForTransform ( '<span v-for="in items" />' , { onError } )
331+ parseWithForTransform ( '<span v-for=" in items" />' , { onError } )
332332
333333 expect ( onError ) . toHaveBeenCalledTimes ( 1 )
334334 expect ( onError ) . toHaveBeenCalledWith (
You can’t perform that action at this time.
0 commit comments