Method: Minitest::Expectations#assert_operator
- Defined in:
- lib/minitest/expectations.rb
#assert_operator ⇒ Object
See Minitest::Assertions#assert_operator
_(n).must_be :<=, 42
This can also do predicates:
_(str).must_be :empty?
:method: must_be
116 |
# File 'lib/minitest/expectations.rb', line 116 infect_an_assertion :assert_operator, :must_be, :reverse |