ecore_con: do not crash in test if nothing is returned by Ecore_Con_Url.

Summary: Depends on D10362

Reviewers: zmike, bu5hm4n, segfaultxavi, stefan_schmidt

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10363
This commit is contained in:
Cedric BAIL 2019-10-11 08:51:48 -04:00 committed by Mike Blumenkrantz
parent 1f1f0f75c0
commit e5c1eb5747
1 changed files with 2 additions and 0 deletions

View File

@ -259,9 +259,11 @@ EFL_START_TEST(ecore_con_test_ecore_con_url_download)
ecore_con_url_verbose_set(url, EINA_TRUE);
fail_unless (ecore_con_url_url_get(url));
fail_if (strcmp(ecore_con_url_url_get(url), link));
ecore_con_url_data_set(url, url_data);
fail_unless (ecore_con_url_data_get(url));
fail_if (strcmp(ecore_con_url_data_get(url), url_data));
info = (url_test *) malloc(sizeof(url_test));