From 628d265d7aed231808661b072d18cac67787bae3 Mon Sep 17 00:00:00 2001 From: thibhero Date: Sun, 8 Jun 2025 11:31:51 -0400 Subject: [PATCH] updating test for upgrade --- Library/Homebrew/test/cmd/upgrade_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index fa50430084..a0b57c0e74 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -33,7 +33,7 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do setup_test_formula "testball", <<~RUBY depends_on "testball5" # should work as its not building but test doesnt pass if dependant - depends_on "testball-build" => :build + #depends_on "testball-build" => :build depends_on "installed" RUBY setup_test_formula "installed" @@ -89,7 +89,7 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do content = <<~RUBY depends_on "testball5" # should work as its not building but test doesnt pass if dependant - # depends_on "build" => :build + depends_on "testball-build" => :build depends_on "installed" version "0.1" RUBY @@ -106,7 +106,7 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do RUBY setup_test_formula "testball4", content, testball_bottle: true setup_test_formula "hiop" - setup_test_formula "build" + setup_test_formula "testball-build" (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath (HOMEBREW_CELLAR/"testball5/0.0.1/foo").mkpath