assert_msg


Description:

[ PrintfFormat ]
[ Version ( since = "0.9.6" ) ]
public void assert_msg (bool expression, ...)

Fail the test if the expression is false; print message on failure

Note that if the check fails, the remaining of the test is aborted

Parameters:

...

message to print (in printf format) if expression is false

expr

expression to evaluate

Since:

0.9.6


Namespace: Check
Package: check



2022 vala-language.org