rcov 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rcov/code_coverage_analyzer.rb +4 -1
- data/lib/rcov/version.rb +2 -2
- metadata +1 -1
@@ -157,7 +157,10 @@ module Rcov
|
|
157
157
|
def aggregate_data(aggregated_data, delta)
|
158
158
|
delta.each_pair do |file, cov_arr|
|
159
159
|
dest = (aggregated_data[file] ||= Array.new(cov_arr.size, 0))
|
160
|
-
cov_arr.each_with_index
|
160
|
+
cov_arr.each_with_index do |x,i|
|
161
|
+
dest[i] ||= 0
|
162
|
+
dest[i] += x.to_i
|
163
|
+
end
|
161
164
|
end
|
162
165
|
end
|
163
166
|
|
data/lib/rcov/version.rb
CHANGED