Skip to content

Commit 4a444ff

Browse files
yyx990803hefeng
authored and
hefeng
committed
test: fix assertion
1 parent 6be4a4f commit 4a444ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/modules/compiler/parser.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ describe('parser', () => {
512512

513513
it('empty v-bind expression', () => {
514514
parse('<div :empty-msg=""></div>', baseOptions)
515-
expect('The value for a v-bind expression cannot be empty. Found in "empty-msg"').toHaveBeenWarned()
515+
expect('The value for a v-bind expression cannot be empty. Found in "v-bind:empty-msg"').toHaveBeenWarned()
516516
})
517517

518518
// #6887

0 commit comments

Comments
 (0)