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
112 |
# File 'lib/minitest/expectations.rb', line 112 infect_an_assertion :assert_operator, :must_be, :reverse |