Port Homebrew::DevCmd::BumpFormulaPr
This commit is contained in:
parent
ebc458a7fe
commit
d873881c47
@ -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
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user