JoinColony / solcover

Code coverage for solidity
MIT License
64 stars 8 forks source link

Add unit tests for conditional, binary and new statements #45

Closed cgewecke closed 7 years ago

cgewecke commented 7 years ago

Some logic for parsing conditional expressions has been changed to address compilation issues.

It looks like istanbul treats conditional expressions as single statements, so I think solcover's test results now match theirs. Was the following the path of least resistance here, not necessarily the correct path.