Skip to content

Commit 453f438

Browse files
committed
fix unit test for track-by warning
1 parent 006e82d commit 453f438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/specs/directives/repeat_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ if (_.inBrowser) {
591591
items: [{id: 1}, {id: 1}]
592592
}
593593
})
594-
expect(hasWarned(_, 'Duplicate track-by key')).toBe(true)
594+
expect(hasWarned(_, 'Duplicate objects with the same track-by key')).toBe(true)
595595
})
596596

597597
it('warn v-if', function () {

0 commit comments

Comments
 (0)