Browse Source

fix hydration warning test in phantomjs

Evan You 10 years ago
parent
commit
4290cdb6f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/unit/modules/vdom/patch/hydration.spec.js

+ 1 - 1
test/unit/modules/vdom/patch/hydration.spec.js

@@ -131,7 +131,7 @@ describe('hydration', () => {
     dom.innerHTML = '<div><span>foo</span></div>'
     dom.innerHTML = '<div><span>foo</span></div>'
 
 
     const vm = new Vue({
     const vm = new Vue({
-      template: '<div><test :msg="msg"></test></div>',
+      template: '<div><test></test></div>',
       components: {
       components: {
         test: {
         test: {
           data () {
           data () {