Skip to content

Commit

Permalink
fix test template typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Sep 30, 2016
1 parent ef69459 commit b8369e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/unit/features/component/component-slot.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>',
Expand All @@ -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>'
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit b8369e8

Please sign in to comment.