lib/undercover/result.rb in undercover-0.4.6 vs lib/undercover/result.rb in undercover-0.4.7

- old
+ new

@@ -11,10 +11,10 @@ def_delegators :node, :first_line, :last_line, :name def initialize(node, file_cov, file_path) @node = node @coverage = file_cov.select do |ln, _| - ln > first_line && ln < last_line + first_line == last_line ? ln == first_line : ln > first_line && ln < last_line end @file_path = file_path @flagged = false end