summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-04-24 17:42:24 +0100
committerTom Hacohen <tom@stosb.com>2013-04-24 17:42:24 +0100
commitfc05066a506c584e894deaebd8896eb0a43bdded (patch)
treeb45213be615fb2e973ba5c96558f54210085ea75 /src
parent007bdd41c1d70a544176ddddf07d8a7b271a78e3 (diff)
Eo: fixed an issue with the test_value test.
Diffstat (limited to 'src')
-rw-r--r--src/tests/eo/suite/eo_test_value.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eo/suite/eo_test_value.c b/src/tests/eo/suite/eo_test_value.c
index 71f2a00..9f4965b 100644
--- a/src/tests/eo/suite/eo_test_value.c
+++ b/src/tests/eo/suite/eo_test_value.c
@@ -12,11 +12,10 @@ START_TEST(eo_value)
12{ 12{
13 eo_init(); 13 eo_init();
14 char *str, *str2; 14 char *str, *str2;
15 Eina_Value_List eo_list;
16 15
17 Eina_Value val2, eo_val; 16 Eina_Value val2, eo_val;
18 void *tmpp = NULL; 17 void *tmpp = NULL;
19 Eo_Dbg_Info *eo_dbg_info, *tmp_dbg_info; 18 Eo_Dbg_Info *eo_dbg_info;
20 Eo *obj = eo_add(SIMPLE_CLASS, NULL); 19 Eo *obj = eo_add(SIMPLE_CLASS, NULL);
21 20
22 eo_dbg_info = EO_DBG_INFO_LIST_APPEND(NULL, "Root"); 21 eo_dbg_info = EO_DBG_INFO_LIST_APPEND(NULL, "Root");
@@ -26,6 +25,7 @@ START_TEST(eo_value)
26 str = eina_value_to_string(&eo_dbg_info->value); 25 str = eina_value_to_string(&eo_dbg_info->value);
27 ck_assert_str_eq(str, "[[8]]"); 26 ck_assert_str_eq(str, "[[8]]");
28 27
28 eina_value_setup(&val2, EO_DBG_INFO_TYPE);
29 eina_value_copy(&eo_dbg_info->value, &val2); 29 eina_value_copy(&eo_dbg_info->value, &val2);
30 str2 = eina_value_to_string(&val2); 30 str2 = eina_value_to_string(&val2);
31 ck_assert_str_eq(str, str2); 31 ck_assert_str_eq(str, str2);