From 7ba8c1cd9ab7ee391e60afa2d147aac750b2e11b Mon Sep 17 00:00:00 2001 From: Issy Long Date: Fri, 17 Feb 2023 14:05:04 +0000 Subject: [PATCH] simplecov: Appease `brew style` --- Library/Homebrew/.simplecov | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/.simplecov b/Library/Homebrew/.simplecov index 5d2c888930..8d90e2ff47 100755 --- a/Library/Homebrew/.simplecov +++ b/Library/Homebrew/.simplecov @@ -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.