Skip to content

Commit

Permalink
Don't require "debug" in brew tests - it's in our RSpec config
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 committed Apr 6, 2024
1 parent 39f32ac commit f0f43c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Library/Homebrew/dev-cmd/tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Tests < AbstractCommand
description: "Include tests that use the GitHub API and tests that use any of the taps for " \
"official external commands."
switch "--debug",
description: "Enable debugging using ruby/debug."
description: "Enable debugging using ruby/debug, or surface the standard `odebug` output."
switch "--changed",
description: "Only runs tests on files that were changed from the master branch."
switch "--fail-fast",
Expand All @@ -45,8 +45,6 @@ def run
# Given we might be testing various commands, we probably want everything (except sorbet-static)
Homebrew.install_bundler_gems!(groups: Homebrew.valid_gem_groups - ["sorbet"])

require "debug" if args.debug?

HOMEBREW_LIBRARY_PATH.cd do
setup_environment!

Expand Down

0 comments on commit f0f43c2

Please sign in to comment.