efl_ui_suite: fix test code of grid
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Fri, 17 Jan 2020 14:49:13 +0000 (09:49 -0500)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 19 Jan 2020 21:50:19 +0000 (06:50 +0900)
commit480b9668b2992c3bcdb824d4b67b75b451f48b43
tree10408d3b3568812c96ee81b7a3323c468cb950e8
parentbc026e00642a6b086b9758fa5fe33963f153c01e
efl_ui_suite: fix test code of grid

Summary:
this test code seemed buggy, we used the iterator *after* the content
was changed. Additionally, we freed the iterator with free instead of
eina_iterator_free.

This fixes test test suite.
Depends on D11123

Reviewers: raster, zmike, cedric, segfaultxavi

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11124
src/tests/elementary/efl_ui_test_grid.c