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