simplecov: Appease brew style

This commit is contained in:
Issy Long 2023-02-17 14:05:04 +00:00
parent 2986c7d736
commit 7ba8c1cd9a
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4

View File

@ -18,7 +18,7 @@ SimpleCov.start do
# tests to be dropped. This causes random fluctuations in test coverage.
merge_timeout 86400
at_fork do |pid|
at_fork do
# be quiet, the parent process will be in charge of output and checking coverage totals
SimpleCov.print_error_status = false
end
@ -30,7 +30,7 @@ SimpleCov.start do
if ENV["HOMEBREW_INTEGRATION_TEST"]
# This needs a unique name so it won't be overwritten
command_name "i#{ENV.fetch('TEST_ENV_NUMBER', $PROCESS_ID)}"
command_name "i#{ENV.fetch("TEST_ENV_NUMBER", $PROCESS_ID)}"
# be quiet, the parent process will be in charge of output and checking coverage totals
SimpleCov.print_error_status = false
@ -51,7 +51,7 @@ SimpleCov.start do
raise if $ERROR_INFO.is_a?(SystemExit)
end
else
command_name "b#{ENV.fetch('TEST_ENV_NUMBER', $PROCESS_ID)}"
command_name "b#{ENV.fetch("TEST_ENV_NUMBER", $PROCESS_ID)}"
# Not using this during integration tests makes the tests 4x times faster
# without changing the coverage.