summaryrefslogtreecommitdiff
path: root/tool/run-lcov.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/run-lcov.rb')
-rw-r--r--tool/run-lcov.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/tool/run-lcov.rb b/tool/run-lcov.rb
index 3536339ba6..f27578200a 100644
--- a/tool/run-lcov.rb
+++ b/tool/run-lcov.rb
@@ -87,15 +87,15 @@ def gen_rb_lcov(file)
# function coverage
total = covered = 0
- cov[:methods].each do |(name, _, lineno), count|
- f.puts "FN:#{ lineno },#{ name }"
+ cov[:methods].each do |(klass, name, lineno), count|
+ f.puts "FN:#{ lineno },#{ klass }##{ name }"
total += 1
covered += 1 if count > 0
end
f.puts "FNF:#{ total }"
f.puts "FNF:#{ covered }"
- cov[:methods].each do |(name, _), count|
- f.puts "FNDA:#{ count },#{ name }"
+ cov[:methods].each do |(klass, name, _), count|
+ f.puts "FNDA:#{ count },#{ klass }##{ name }"
end
# line coverage