chore: fix typo (#439)

This commit is contained in:
张晨成 2019-11-09 11:41:55 +08:00 committed by Evan You
parent 9e48c51f07
commit f2cdc82be3

View File

@ -182,10 +182,10 @@ describe('vnode', () => {
style: [ style: [
{ {
color: 'blue', color: 'blue',
with: '200px' width: '200px'
}, },
{ {
with: '300px', width: '300px',
height: '300px', height: '300px',
fontSize: 30 fontSize: 30
} }
@ -194,7 +194,7 @@ describe('vnode', () => {
expect(mergeProps(props1, props2)).toMatchObject({ expect(mergeProps(props1, props2)).toMatchObject({
style: { style: {
color: 'blue', color: 'blue',
with: '300px', width: '300px',
height: '300px', height: '300px',
fontSize: 30 fontSize: 30
} }