diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index fa50430084..c304f061c8 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -88,7 +88,7 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do content = <<~RUBY depends_on "testball5" - # should work as its not building but test doesnt pass if dependant + # should work as it's not building but test doesn't pass if dependant # depends_on "build" => :build depends_on "installed" version "0.1" diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb index 113e6e82fa..40d193effb 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb @@ -151,7 +151,7 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin program_name = "test" end - tarball_name = "#{prefix}-0.1#{'-linux' if OS.linux?}.tbz" + tarball_name = "#{prefix}-0.1#{"-linux" if OS.linux?}.tbz" tarball = TEST_FIXTURE_DIR / "tarballs/#{tarball_name}" content = <<~RUBY