dot-my_assert: Custom assertion function, prints formatted error messages...

Description Usage Arguments

Description

Prints an error message if the assertion fails, otherwise does nothing. Error message is of the format (and does not include the function call): "Error: <error_msg>"

Usage

1
.my_assert(error_msg, test)

Arguments

error_msg

error message to print on failure

test

the value to test


erflynn/exprsex documentation built on Feb. 23, 2020, 2:34 a.m.