diff --git a/Library/Homebrew/rubocops/caveats.rb b/Library/Homebrew/rubocops/caveats.rb index b4045c604890e4..99ae5b826b6437 100644 --- a/Library/Homebrew/rubocops/caveats.rb +++ b/Library/Homebrew/rubocops/caveats.rb @@ -14,7 +14,7 @@ module FormulaAudit # # bad # def caveats # <<~EOS - # Use `setuid` to allow running the exeutable by non-root users. + # Use `setuid` to allow running the executable by non-root users. # EOS # end # diff --git a/Library/Homebrew/test/cask/cask_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader_spec.rb index 8d86856f165358..4c18828c9e8a54 100644 --- a/Library/Homebrew/test/cask/cask_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader_spec.rb @@ -83,7 +83,7 @@ end context "to a cask in an other tap" do - # Can't use local-caffeine. It is a fixture in the :core_cask_tap and would take precendence over :new_tap. + # Can't use local-caffeine. It is a fixture in the :core_cask_tap and would take precedence over :new_tap. let(:token) { "some-cask" } let(:old_tap) { Tap.fetch("homebrew", "foo") } diff --git a/Library/Homebrew/test/support/helper/cmd/brew-verify-undefined.rb b/Library/Homebrew/test/support/helper/cmd/brew-verify-undefined.rb index 2939e93e027715..0596fd1f8af498 100755 --- a/Library/Homebrew/test/support/helper/cmd/brew-verify-undefined.rb +++ b/Library/Homebrew/test/support/helper/cmd/brew-verify-undefined.rb @@ -65,7 +65,7 @@ class VerifyUndefined < AbstractCommand Verifies that the following constants have not been defined at startup to make sure that startup times stay consistent. - Contants: + Constants: #{UNDEFINED_CONSTANTS.join("\n")} EOS end diff --git a/Library/Homebrew/test/utils/ruby_check_version_script_spec.rb b/Library/Homebrew/test/utils/ruby_check_version_script_spec.rb index 5f6786be096994..37c1f80ff0fe27 100644 --- a/Library/Homebrew/test/utils/ruby_check_version_script_spec.rb +++ b/Library/Homebrew/test/utils/ruby_check_version_script_spec.rb @@ -22,7 +22,7 @@ it { is_expected.to be true } end - describe "succeeds on newer mismatched major/minor required Ruby version and configurated environment" do + describe "succeeds on newer mismatched major/minor required Ruby version and configured environment" do let(:required_ruby_version) { "2.0.0" } before do