Port Homebrew::DevCmd::BumpFormulaPr

This commit is contained in:
Douglas Eichelberger 2024-03-18 16:11:28 -07:00
parent ebc458a7fe
commit d873881c47
3 changed files with 513 additions and 508 deletions

View File

@ -119,7 +119,9 @@ module Homebrew
] ]
end end
sig { params(cmd: T.nilable(T.class_of(Homebrew::AbstractCommand)), block: T.nilable(T.proc.bind(Parser).void)).void } sig {
params(cmd: T.nilable(T.class_of(Homebrew::AbstractCommand)), block: T.nilable(T.proc.bind(Parser).void)).void
}
def initialize(cmd = nil, &block) def initialize(cmd = nil, &block)
@parser = OptionParser.new @parser = OptionParser.new

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,8 @@
# frozen_string_literal: true # frozen_string_literal: true
require "cmd/shared_examples/args_parse" require "cmd/shared_examples/args_parse"
require "dev-cmd/bump-formula-pr"
RSpec.describe "brew bump-formula-pr" do RSpec.describe Homebrew::DevCmd::BumpFormulaPr do
it_behaves_like "parseable arguments" it_behaves_like "parseable arguments"
end end