Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use common json-format-safely module #16

Merged
merged 1 commit into from
Apr 10, 2017

Conversation

YanagiEiichi
Copy link
Contributor

@lujjjh @YongX

Add unit testing in json-format-safely

@YanagiEiichi
Copy link
Contributor Author

原来的 Bug 是 ddd.ddd 这样的结构替换成数字后,小数右边 0 结尾的数字 0 会丢掉,导致还原时错误。现在干脆把小数点也拎出来匹配上了。

@YanagiEiichi
Copy link
Contributor Author

之前这个东西没有单元测试一直是我的心中一根刺,现在抽出来补上测试了。

@YongX
Copy link

YongX commented Apr 10, 2017

帅 👍

@lujjjh lujjjh merged commit aefc846 into ElemeFE:master Apr 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants