Skip to content

Commit eb58694

Browse files
S-YOUkazupon
authored andcommitted
chore(filter.spec): fix variable-- test case (#5094)
1 parent c683caf commit eb58694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/features/filter/filter.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ describe('Filters', () => {
125125
it('handle division with variable--', () => {
126126
const vm = new Vue({
127127
data: { a: 7 },
128-
template: `<div>{{ a++ / 2 | double }}</div>`,
128+
template: `<div>{{ a-- / 2 | double }}</div>`,
129129
filters: { double: v => v * 2 }
130130
}).$mount()
131131
expect(vm.$el.textContent).toBe(String(7))

0 commit comments

Comments
 (0)