chore: update

This commit is contained in:
linzhe141 2024-08-30 10:07:37 +08:00
parent 6a6eb2a552
commit bbea42f522
2 changed files with 2 additions and 2 deletions

View File

@ -317,7 +317,7 @@ describe('compiler: v-for', () => {
expect(onError).toHaveBeenCalledTimes(1)
})
test('v-for + the parameter name cannot be the same as the component name.', () => {
test('v-for + the parameter name is the same as the component name.', () => {
const onError1 = vi.fn()
parseWithForTransform('<Comp v-for="Comp of list" />', {
onError: onError1,

View File

@ -929,7 +929,7 @@ describe('compiler: transform component slots', () => {
})
})
test('v-slot + the parameter name cannot be the same as the component name.', () => {
test('v-slot + the parameter name is the same as the component name.', () => {
const onError1 = vi.fn()
parseWithSlots(
`<CompB>