Skip to content

Commit d304eee

Browse files
committed
fix weex tests
1 parent 661d880 commit d304eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/weex/compiler/v-model.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('compile v-model', () => {
1414
it('should compile other component with whole $event as the value', () => {
1515
const { render, staticRenderFns, errors } = compile(`<div><foo v-model="x" /></div>`)
1616
expect(render).not.toBeUndefined()
17-
expect(render).toMatch(strToRegExp(`model:{value:(x),callback:function (value) {x=value}}`))
17+
expect(render).toMatch(strToRegExp(`model:{value:(x),callback:function ($$v) {x=$$v}}`))
1818
expect(staticRenderFns).toEqual([])
1919
expect(errors).toEqual([])
2020
})

0 commit comments

Comments
 (0)