lib/covered/source.rb in covered-0.16.1 vs lib/covered/source.rb in covered-0.16.2

- old
+ new

@@ -70,12 +70,13 @@ EXECUTABLE = { send: true, yield: true, return: true, - lvar: true, - ivar: true, - def: true + def: true, + if: true, + lvasgn: true, ivasgn: true, cvasgn: true, gvasgn: true, + match_pattern: true } def executable?(node) EXECUTABLE[node.type] end