Skip to content

Commit b8369e8

Browse files
committed
fix test template typo
1 parent ef69459 commit b8369e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/unit/features/component/component-slot.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ describe('Component slot', () => {
316316
// #3254
317317
it('should not keep slot name when passed further down', () => {
318318
const vm = new Vue({
319-
template: '<test><span slot="foo">foo<span></test>',
319+
template: '<test><span slot="foo">foo</span></test>',
320320
components: {
321321
test: {
322322
template: '<child><slot name="foo"></slot></child>',
@@ -339,7 +339,7 @@ describe('Component slot', () => {
339339

340340
it('should not keep slot name when passed further down (nested)', () => {
341341
const vm = new Vue({
342-
template: '<wrap><test><span slot="foo">foo<span></test></wrap>',
342+
template: '<wrap><test><span slot="foo">foo</span></test></wrap>',
343343
components: {
344344
wrap: {
345345
template: '<div><slot></slot></div>'
@@ -373,7 +373,7 @@ describe('Component slot', () => {
373373
`
374374
}
375375
const vm = new Vue({
376-
template: '<test><span slot="foo">foo<span></test>',
376+
template: '<test><span slot="foo">foo</span></test>',
377377
components: {
378378
test: {
379379
functional: true,

0 commit comments

Comments
 (0)