Merge pull request #19726 from Homebrew/upgrade-fix-test-regex

cmd/upgrade: fix output regex in test
This commit is contained in:
Patrick Linnane 2025-04-09 18:49:26 +00:00 committed by GitHub
commit addd57f963
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,19 +54,11 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do
regex = /
Formulae\s*\(3\):\s*
(
testball|testball5|testball4
)
(testball|testball5|testball4)
\s*,\s*
(?!\1)
(
testball|testball5|testball4
)
((?!\1)testball|testball5|testball4)
\s*,\s*
(?!\1|\2)
(
testball|testball5|testball4
)
((?!\1|\2)testball|testball5|testball4)
/x
expect do
brew "upgrade", "--ask"