elm: Use ck_assert_str_eq for better error logging

Summary: It was introduced in libcheck 0.9.6, before our minimum 0.9.10.

Reviewers: felipealmeida, vitor.sousa

Reviewed By: vitor.sousa

Subscribers: cedric

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6048
This commit is contained in:
Lauro Moura 2018-04-19 16:57:14 -03:00
parent da13878cc2
commit f39baf1e82
1 changed files with 2 additions and 2 deletions

View File

@ -17,11 +17,11 @@ EFL_START_TEST (elm_multibuttonentry_legacy_type_check)
type = elm_object_widget_type_get(multibuttonentry);
ck_assert(type != NULL);
ck_assert(!strcmp(type, "Elm_Multibuttonentry"));
ck_assert_str_eq(type, "Elm_Multibuttonentry");
type = evas_object_type_get(multibuttonentry);
ck_assert(type != NULL);
ck_assert(!strcmp(type, "elm_multibuttonentry"));
ck_assert_str_eq(type, "elm_multibuttonentry");
}
EFL_END_TEST