Update RBI files for minitest.

This commit is contained in:
BrewTestBot 2022-06-15 18:10:01 +00:00
parent d75cc6dbfc
commit 64768f9c2a
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 17 additions and 14 deletions

View File

@ -11,6 +11,7 @@ module Minitest
def autorun; end def autorun; end
def backtrace_filter; end def backtrace_filter; end
def backtrace_filter=(_arg0); end def backtrace_filter=(_arg0); end
def cattr_accessor(name); end
def clock_time; end def clock_time; end
def extensions; end def extensions; end
def extensions=(_arg0); end def extensions=(_arg0); end
@ -26,6 +27,8 @@ module Minitest
def reporter=(_arg0); end def reporter=(_arg0); end
def run(args = T.unsafe(nil)); end def run(args = T.unsafe(nil)); end
def run_one_method(klass, method_name); end def run_one_method(klass, method_name); end
def seed; end
def seed=(_arg0); end
end end
end end
@ -132,8 +135,6 @@ class Minitest::CompositeReporter < ::Minitest::AbstractReporter
def start; end def start; end
end end
Minitest::ENCS = T.let(T.unsafe(nil), TrueClass)
module Minitest::Guard module Minitest::Guard
def jruby?(platform = T.unsafe(nil)); end def jruby?(platform = T.unsafe(nil)); end
def maglev?(platform = T.unsafe(nil)); end def maglev?(platform = T.unsafe(nil)); end
@ -291,6 +292,8 @@ class Minitest::Test < ::Minitest::Runnable
def capture_exceptions; end def capture_exceptions; end
def class_name; end def class_name; end
def neuter_exception(e); end
def new_exception(klass, msg, bt); end
def run; end def run; end
def sanitize_exception(e); end def sanitize_exception(e); end
def with_info_handler(&block); end def with_info_handler(&block); end

View File

@ -3174,35 +3174,35 @@ module Minitest::Expectations
end end
class Minitest::Mock class Minitest::Mock
def ===(*args, &b); end def ===(*args, **kwargs, &b); end
def __call(name, data); end def __call(name, data); end
def __respond_to?(*arg); end def __respond_to?(*arg); end
def class(*args, &b); end def class(*args, **kwargs, &b); end
def expect(name, retval, args=T.unsafe(nil), &blk); end def expect(name, retval, args=T.unsafe(nil), **kwargs, &blk); end
def initialize(delegator=T.unsafe(nil)); end def initialize(delegator=T.unsafe(nil)); end
def inspect(*args, &b); end def inspect(*args, **kwargs, &b); end
def instance_eval(*args, &b); end def instance_eval(*args, **kwargs, &b); end
def instance_variables(*args, &b); end def instance_variables(*args, **kwargs, &b); end
def method_missing(sym, *args, &block); end def method_missing(sym, *args, **kwargs, &block); end
def object_id(*args, &b); end def object_id(*args, **kwargs, &b); end
def public_send(*args, &b); end def public_send(*args, **kwargs, &b); end
def respond_to?(sym, include_private=T.unsafe(nil)); end def respond_to?(sym, include_private=T.unsafe(nil)); end
def send(*args, &b); end def send(*args, **kwargs, &b); end
def to_s(*args, &b); end def to_s(*args, **kwargs, &b); end
def verify(); end def verify(); end
end end
@ -3522,7 +3522,7 @@ class Object
def __send!(*arg); end def __send!(*arg); end
def stub(name, val_or_callable, *block_args); end def stub(name, val_or_callable, *block_args, **block_kwargs); end
def to_yaml(options=T.unsafe(nil)); end def to_yaml(options=T.unsafe(nil)); end
ARGF = ::T.let(nil, ::T.untyped) ARGF = ::T.let(nil, ::T.untyped)