File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test/unit/features/component Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ describe('Component slot', () => {
316
316
// #3254
317
317
it ( 'should not keep slot name when passed further down' , ( ) => {
318
318
const vm = new Vue ( {
319
- template : '<test><span slot="foo">foo<span></test>' ,
319
+ template : '<test><span slot="foo">foo</ span></test>' ,
320
320
components : {
321
321
test : {
322
322
template : '<child><slot name="foo"></slot></child>' ,
@@ -339,7 +339,7 @@ describe('Component slot', () => {
339
339
340
340
it ( 'should not keep slot name when passed further down (nested)' , ( ) => {
341
341
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>' ,
343
343
components : {
344
344
wrap : {
345
345
template : '<div><slot></slot></div>'
@@ -373,7 +373,7 @@ describe('Component slot', () => {
373
373
`
374
374
}
375
375
const vm = new Vue ( {
376
- template : '<test><span slot="foo">foo<span></test>' ,
376
+ template : '<test><span slot="foo">foo</ span></test>' ,
377
377
components : {
378
378
test : {
379
379
functional : true ,
You can’t perform that action at this time.
0 commit comments