* [html5] update style unit test case @notdanger
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/d2aacf73 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/d2aacf73 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/d2aacf73 Branch: refs/heads/0.16-dev Commit: d2aacf73c658735f3ac9e1bfb242b6d9a01c59f6 Parents: b8606a4 Author: erha19 <faterr...@gmail.com> Authored: Tue Jul 18 14:41:09 2017 +0800 Committer: erha19 <faterr...@gmail.com> Committed: Tue Jul 18 14:41:09 2017 +0800 ---------------------------------------------------------------------- html5/test/render/vue/utils/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/d2aacf73/html5/test/render/vue/utils/style.js ---------------------------------------------------------------------- diff --git a/html5/test/render/vue/utils/style.js b/html5/test/render/vue/utils/style.js index 1f1e78f..b968826 100644 --- a/html5/test/render/vue/utils/style.js +++ b/html5/test/render/vue/utils/style.js @@ -87,7 +87,7 @@ describe('normalizeStyle', () => { expect(normalizeString('transform', style.transform)).to.equal(res.transform) expect(normalizeString('width', style.width)).to.equal(res.width) expect(normalizeString('flexDirection', style.flexDirection)).to.equal(res.flexDirection) - expect(normalizeNumber('flex', style.flex)).to.equal(res.flex) + expect(style.flex).to.equal(res.flex) }) }) describe('autoPrefix', () => {