PATH:
opt
/
alt
/
ruby34
/
share
/
gems
/
gems
/
rbs-3.8.0
/
stdlib
/
minitest
/
0
/
minitest
# <!-- rdoc-file=lib/minitest/expectations.rb --> # It's where you hide your "assertions". # # Please note, because of the way that expectations are implemented, all # expectations (eg must_equal) are dependent upon a thread local variable # `:current_spec`. If your specs rely on mixing threads into the specs # themselves, you're better off using assertions or the new _(value) wrapper. # For example: # # it "should still work in threads" do # my_threaded_thingy do # (1+1).must_equal 2 # bad # assert_equal 2, 1+1 # good # _(1 + 1).must_equal 2 # good # value(1 + 1).must_equal 2 # good, also #expect # _ { 1 + "1" }.must_raise TypeError # good # end # end # module Minitest::Expectations end
[-] error_on_warning.rbs
[edit]
[-] unexpected_warning.rbs
[edit]
[-] summary_reporter.rbs
[edit]
[-] test.rbs
[edit]
[-] pride_lol.rbs
[edit]
[-] unit.rbs
[edit]
[-] spec.rbs
[edit]
[+]
unit
[-] result.rbs
[edit]
[-] reporter.rbs
[edit]
[-] skip.rbs
[edit]
[-] mock.rbs
[edit]
[-] benchmark.rbs
[edit]
[-] assertion.rbs
[edit]
[+]
parallel
[-] composite_reporter.rbs
[edit]
[-] progress_reporter.rbs
[edit]
[-] abstract_reporter.rbs
[edit]
[-] backtrace_filter.rbs
[edit]
[-] runnable.rbs
[edit]
[-] bench_spec.rbs
[edit]
[+]
spec
[-] parallel.rbs
[edit]
[-] compress.rbs
[edit]
[+]
..
[-] unexpected_error.rbs
[edit]
[-] pride_io.rbs
[edit]
[+]
test
[-] expectation.rbs
[edit]
[-] statistics_reporter.rbs
[edit]
[-] assertions.rbs
[edit]
[-] guard.rbs
[edit]
[-] expectations.rbs
[edit]
[-] reportable.rbs
[edit]