Expectation::toBeFalse
Member of Expectation
idl
Expectation.toBeFalse, $
/_expect_failureVerifies that the expectation value is falsy by using an if statement like this:
if ~(expectationValue) then begin
; passed
endif
Examples
idl
(it.expects(!false)).toBeFalse
(it.expects(!true))._not_.toBeFalseKeywords
_expect_failure {#kw-_expect_failure}
optionalinputtype=BooleanIf the test fails for some reason, set this to force passing because we expected failure. This keyword is for internal use only.