瀏覽代碼

fix weex test case

Evan You 9 年之前
父節點
當前提交
bf8aac0053
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/weex/compiler/compile.spec.js

+ 1 - 1
test/weex/compiler/compile.spec.js

@@ -38,7 +38,7 @@ describe('compile basic', () => {
         <text style="margin-left:36px;color:#eee;">Load more...</text>
       </refresh>
     `)
-    expect(render).toEqual(`with(this){return _c('refresh',{staticClass:["refresh"],staticStyle:{flexDirection:"row"},attrs:{"display":displayRefresh},on:{"refresh":handleRefresh}},[_c('loading-indicator'),_c('text',{staticStyle:{marginLeft:"36px",color:"#eee"}},[_v("Load more...")])])}`)
+    expect(render).toEqual(`with(this){return _c('refresh',{staticClass:["refresh"],staticStyle:{flexDirection:"row"},attrs:{"display":displayRefresh},on:{"refresh":handleRefresh}},[_c('loading-indicator'),_c('text',{staticStyle:{marginLeft:"36px",color:"#eee"}},[_v("Load more...")])],1)}`)
     expect(staticRenderFns).toEqual([])
     expect(errors).toEqual([])
   })