diff options
Diffstat (limited to 'sample/coverage.rb')
-rw-r--r-- | sample/coverage.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/coverage.rb b/sample/coverage.rb index 8e8d6167e2..42ba89fd50 100644 --- a/sample/coverage.rb +++ b/sample/coverage.rb @@ -49,7 +49,7 @@ at_exit do end end - open(cfile, "w") do |out| + File.open(cfile, "w") do |out| covs.zip(sources, pcovs).each_with_index do |(cov, line, pcov), idx| cov += pcov || 0 if cov cov = (cov ? (cov == 0 ? "#####" : cov.to_s) : "-").rjust(9) |