Module TestProp

Functions

assert_errmsg (errmsg, func) Assert that a given function fails and returns an expected error message


Functions

assert_errmsg (errmsg, func)
Assert that a given function fails and returns an expected error message

Parameters

  • errmsg: the expected error message (as regular expression).
  • func: the function which is expected to fail (i.e. it shall return false as first value and an error message as second value)

Valid XHTML 1.0!