check for formula in any order
This commit is contained in:
parent
909f2afd16
commit
9874f2bbb9
@ -54,7 +54,8 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do
|
||||
|
||||
expect do
|
||||
brew "upgrade", "--ask"
|
||||
end.to output(/.*Formulae\s*\(3\):\s*testball4\s*,?\s*testball5\s*,?\s*testball.*/)
|
||||
end.to output(/.*Formulae\s*\(3\):\s*(?:testball|testball5|testball4)\s*,?\s*(?:testball|testball5|testball4)\s*,?
|
||||
\s*(?:testball|testball5|testball4).*/)
|
||||
.to_stdout.and not_to_output.to_stderr
|
||||
|
||||
expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user