Skip to content

Commit

Permalink
Merge pull request #3288 from reitermarkus/fix-rubocop-tests
Browse files Browse the repository at this point in the history
Fix comment location.
  • Loading branch information
reitermarkus committed Oct 8, 2017
2 parents b568179 + 69e2be8 commit c56a968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/.simplecov
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ SimpleCov.start do
end
else
command_name "#{command_name} (#{$PROCESS_ID})"
# Not using this during integration tests makes the tests 4x times faster
# without changing the coverage.

subdirs = Dir.chdir(SimpleCov.root) { Dir.glob("*") }
.reject { |d| d.end_with?(".rb") || ["test", "vendor"].include?(d) }
.map { |d| "#{d}/**/*.rb" }.join(",")

# Not using this during integration tests makes the tests 4x times faster
# without changing the coverage.
track_files "#{SimpleCov.root}/{#{subdirs},*.rb}"
end

Expand Down

0 comments on commit c56a968

Please sign in to comment.