efl_ui_table: protect again negative tests

Summary:
these tests are checking for errors, which is fine, we should expect a
error here
Depends on D9983

Reviewers: SanghyeonLee, cedric, zmike, segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9984
This commit is contained in:
Marcel Hollerbach 2019-09-17 12:26:01 +02:00 committed by Xavi Artigas
parent 4452b921df
commit b0f293d37c
1 changed files with 2 additions and 1 deletions

View File

@ -457,8 +457,9 @@ EFL_START_TEST (efl_ui_table_pack_table)
//unpack test
ck_assert(efl_pack_unpack(layout, btn[2]));
EXPECT_ERROR_START;
ck_assert(!efl_pack_unpack(layout, btn[2]));
EXPECT_ERROR_END;
efl_pack_unpack_all(layout);
ck_assert_int_eq(efl_content_count(layout), 0);
ck_assert(!efl_invalidated_get(btn[0]));