lib/cli_coverage.rb in imap-backup-5.2.0 vs lib/cli_coverage.rb in imap-backup-6.0.0.rc2
- old
+ new
@@ -2,10 +2,10 @@
def self.conditionally_activate
if ENV["COVERAGE"]
require "simplecov"
# Collect coverage separately
- SimpleCov.command_name "#{ENV['COVERAGE']} coverage"
+ SimpleCov.command_name "#{ENV['COVERAGE']} #{ARGV.join(' ')} coverage"
# Silence output
SimpleCov.formatter = SimpleCov::Formatter::SimpleFormatter
SimpleCov.print_error_status = false