Skip to content

Commit

Permalink
test: fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Oct 24, 2018
1 parent aef2a5f commit e9fc04b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/modules/compiler/parser.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9fc04b

Please sign in to comment.