]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix typo (#439)
author张晨成 <zcc256134@163.com>
Sat, 9 Nov 2019 03:41:55 +0000 (11:41 +0800)
committerEvan You <yyx990803@gmail.com>
Sat, 9 Nov 2019 03:41:55 +0000 (22:41 -0500)
packages/runtime-core/__tests__/vnode.spec.ts

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