brew style --fix
This commit is contained in:
parent
459741f683
commit
909f2afd16
@ -116,9 +116,9 @@ RSpec.describe Homebrew::Cmd::InstallCmd do
|
||||
keg_dir.mkpath
|
||||
touch keg_dir/AbstractTab::FILENAME
|
||||
|
||||
expect {
|
||||
expect do
|
||||
brew "install", "--ask", "testball1"
|
||||
}.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/).to_stdout
|
||||
end.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/).to_stdout
|
||||
.and not_to_output.to_stderr
|
||||
|
||||
expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file
|
||||
|
@ -52,9 +52,9 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do
|
||||
keg_dir.mkpath
|
||||
touch keg_dir/AbstractTab::FILENAME
|
||||
|
||||
expect {
|
||||
expect do
|
||||
brew "upgrade", "--ask"
|
||||
}.to output(/.*Formulae\s*\(3\):\s*testball4\s*,?\s*testball5\s*,?\s*testball.*/)
|
||||
end.to output(/.*Formulae\s*\(3\):\s*testball4\s*,?\s*testball5\s*,?\s*testball.*/)
|
||||
.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