Просмотр исходного кода

chore: fix some closetag mismatches (#5088)

YOU 9 лет назад
Родитель
Сommit
62e4f2b3d1
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      test/unit/features/component/component-slot.spec.js

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

@@ -153,7 +153,7 @@ describe('Component slot', () => {
         b: 2,
         show: true
       },
-      template: '<test :show="show"><p slot="b">{{b}}</a><p>{{a}}</p></test>',
+      template: '<test :show="show"><p slot="b">{{b}}</p><p>{{a}}</p></test>',
       components: {
         test: {
           props: ['show'],
@@ -283,7 +283,7 @@ describe('Component slot', () => {
 
   it('programmatic access to $slots', () => {
     const vm = new Vue({
-      template: '<test><p slot="a">A</p><div>C</div><p slot="b">B</div></p></test>',
+      template: '<test><p slot="a">A</p><div>C</div><p slot="b">B</p></test>',
       components: {
         test: {
           render () {