diff --git a/Library/Homebrew/test/download_strategies/curl_spec.rb b/Library/Homebrew/test/download_strategies/curl_spec.rb index a9a31f3b8d..ff94c94f7e 100644 --- a/Library/Homebrew/test/download_strategies/curl_spec.rb +++ b/Library/Homebrew/test/download_strategies/curl_spec.rb @@ -75,7 +75,7 @@ describe CurlDownloadStrategy do /curl/, hash_including(args: array_including_cons( "--user-agent", - a_string_matching(/Mozilla.*Mac OS X 14.*AppleWebKit/), + a_string_matching(/Mozilla.*Mac OS X 10_15_7.*AppleWebKit/), )), ) .at_least(:once)