Evan You 7 лет назад
Родитель
Сommit
e9fc04ba50
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      test/unit/modules/compiler/parser.spec.js

+ 1 - 1
test/unit/modules/compiler/parser.spec.js

@@ -512,7 +512,7 @@ describe('parser', () => {
 
   it('empty v-bind expression', () => {
     parse('<div :empty-msg=""></div>', baseOptions)
-    expect('The value for a v-bind expression cannot be empty. Found in "empty-msg"').toHaveBeenWarned()
+    expect('The value for a v-bind expression cannot be empty. Found in "v-bind:empty-msg"').toHaveBeenWarned()
   })
 
   // #6887