to be greater than or equal to
- <string> [not] to be greater than or equal to <string>
Asserts that a string is greater than or equal to another string using
the >=
operator.
expect('b', 'to be greater than or equal to', 'b');
In case of a failing expectation you get the following output:
expect('a', 'to be greater than or equal to', 'b');
expected 'a' to be greater than or equal to 'b'
This assertion can be negated using the not
flag:
expect('a', 'not to be greater than or equal to', 'b');
In case of a failing expectation you get the following output:
expect('a', 'not to be greater than or equal to', 'a');
expected 'a' not to be greater than or equal to 'a'