forked from enlightenment/efl
efl: eina_magic_fail now trigger an ERR on NULL instead of CRITICAL.
Updating the test suite. SVN revision: 82391
This commit is contained in:
parent
63eeace6d6
commit
158759d507
|
@ -80,7 +80,7 @@ _eina_test_magic_print_cb(const Eina_Log_Domain *d, Eina_Log_Level level, const
|
||||||
{
|
{
|
||||||
struct log_ctx *ctx = data;
|
struct log_ctx *ctx = data;
|
||||||
|
|
||||||
ck_assert_int_eq(level, EINA_LOG_LEVEL_CRITICAL);
|
ck_assert_int_eq(level, EINA_LOG_LEVEL_ERR); /* Level ERR is triggered for access to NULL instead of level CRITICAL */
|
||||||
ck_assert_str_eq(ctx->msg, fmt);
|
ck_assert_str_eq(ctx->msg, fmt);
|
||||||
ck_assert_str_eq(ctx->fnc, fnc);
|
ck_assert_str_eq(ctx->fnc, fnc);
|
||||||
ctx->did = EINA_TRUE;
|
ctx->did = EINA_TRUE;
|
||||||
|
|
Loading…
Reference in New Issue