Expectation::toBeDirectory
Member of Expectation
idl
Expectation.toBeDirectory, $
/_expect_failureVerifies that the expectation value (a path, or array of paths) is an existing directory.
Examples
idl
(it.expects(!dir)).toBeDirectory
(it.expects(file_which('plot.pro')))._not_.toBeDirectoryKeywords
_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.