Expectation::toBeArray
Member of Expectation
idl
Expectation.toBeArray, $
/_expect_failureVerifies that the expectation value is an array. A structure or object reference is an array when it contains more than one element.
Examples
idl
(it.expects([1, 2, 3])).toBeArray
(it.expects(42))._not_.toBeArrayKeywords
_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.