Browse Source

fix test template typo

Evan You 9 years ago
parent
commit
b8369e802b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      test/unit/features/component/component-slot.spec.js

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

@@ -316,7 +316,7 @@ describe('Component slot', () => {
   // #3254
   it('should not keep slot name when passed further down', () => {
     const vm = new Vue({
-      template: '<test><span slot="foo">foo<span></test>',
+      template: '<test><span slot="foo">foo</span></test>',
       components: {
         test: {
           template: '<child><slot name="foo"></slot></child>',
@@ -339,7 +339,7 @@ describe('Component slot', () => {
 
   it('should not keep slot name when passed further down (nested)', () => {
     const vm = new Vue({
-      template: '<wrap><test><span slot="foo">foo<span></test></wrap>',
+      template: '<wrap><test><span slot="foo">foo</span></test></wrap>',
       components: {
         wrap: {
           template: '<div><slot></slot></div>'
@@ -373,7 +373,7 @@ describe('Component slot', () => {
       `
     }
     const vm = new Vue({
-      template: '<test><span slot="foo">foo<span></test>',
+      template: '<test><span slot="foo">foo</span></test>',
       components: {
         test: {
           functional: true,