brew style --fix

This commit is contained in:
thibhero 2025-03-06 23:02:17 -05:00
parent 459741f683
commit 909f2afd16
3 changed files with 8 additions and 8 deletions

View File

@ -116,9 +116,9 @@ RSpec.describe Homebrew::Cmd::InstallCmd do
keg_dir.mkpath keg_dir.mkpath
touch keg_dir/AbstractTab::FILENAME touch keg_dir/AbstractTab::FILENAME
expect { expect do
brew "install", "--ask", "testball1" 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 .and not_to_output.to_stderr
expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file

View File

@ -52,9 +52,9 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do
keg_dir.mkpath keg_dir.mkpath
touch keg_dir/AbstractTab::FILENAME touch keg_dir/AbstractTab::FILENAME
expect { expect do
brew "upgrade", "--ask" 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 .to_stdout.and not_to_output.to_stderr
expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory