Skip to content
Snippets Groups Projects
Unverified Commit a58366f4 authored by Markus Reiter's avatar Markus Reiter Committed by GitHub
Browse files

Merge pull request #4337 from reitermarkus/simpler-cov

Refactor `.simplecov`.
parents dee0028d c7549f47
No related branches found
No related tags found
No related merge requests found
......@@ -49,10 +49,9 @@ SimpleCov.start do
add_filter %r{^/vendor/}
require "rbconfig"
add_filter %r{^/os/mac/} unless RbConfig::CONFIG["host_os"].include?("darwin")
unless RbConfig::CONFIG["host_os"].include?("linux")
add_filter %r{^/os/linux/}
end
host_os = RbConfig::CONFIG["host_os"]
add_filter %r{^/os/mac/} if host_os !~ /darwin/
add_filter %r{^/os/linux/} if host_os !~ /linux/
# Add groups and the proper project name to the output.
project_name "Homebrew"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment