download_strategies/curl_spec: fix test.

This commit is contained in:
Mike McQuaid 2023-10-21 09:41:35 +01:00 committed by GitHub
parent 20b8a74906
commit 4436a663f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ describe CurlDownloadStrategy do
/curl/, /curl/,
hash_including(args: array_including_cons( hash_including(args: array_including_cons(
"--user-agent", "--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) .at_least(:once)