Skip to content

Commit 16919f4

Browse files
sinshutuhefeng
authored and
hefeng
committed
chore: fix tag name in compiler/parser/index.js (vuejs#9165)
1 parent d6f9103 commit 16919f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compiler/parser/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ function processKey (el) {
340340
const parent = el.parent
341341
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
342342
warn(
343-
`Do not use v-for index as key on <transtion-group> children, ` +
343+
`Do not use v-for index as key on <transition-group> children, ` +
344344
`this is the same as not using keys.`
345345
)
346346
}

test/unit/modules/compiler/parser.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ describe('parser', () => {
250250
</transition-group>
251251
</div>
252252
`, baseOptions)
253-
expect('Do not use v-for index as key on <transtion-group> children').toHaveBeenWarned()
253+
expect('Do not use v-for index as key on <transition-group> children').toHaveBeenWarned()
254254
})
255255

256256
it('v-pre directive', () => {

0 commit comments

Comments
 (0)