qax-os / goreporter

A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Apache License 2.0
3.13k stars 273 forks source link

fixed the bug that json unmarshal cannot recognize the math character… #57

Closed fearblackcat closed 6 years ago

fearblackcat commented 6 years ago

I transfer the report data to json data. But it failed to unmarshal. Finally I found the bug is the "NAN" for avg in summary which cannot parse in json.
So I fixed the bug that json unmarshal cannot recognize the math symbol "NAN" in json data.

wgliang commented 6 years ago

Ok, thank you for your fix.