colszowka/simplecov — Issue #105: Support for postfix conditionals and partial line executions
Author: gioele
Created: 2012-01-22 20:22:14+00:00
State: open

Code with postfix conditionals like

cond = false
a = 1 if cond
a ||= 2

will show up as 100% covered while it has been covered only partially (I'd say 75%). This is probably because the `if cond` part has been executed and that makes simplecov think that all the code on that line has been excuted.