tasn pushed a commit to branch master.
commit fc05066a506c584e894deaebd8896eb0a43bdded
Author: Tom Hacohen <[email protected]>
Date: Wed Apr 24 17:42:24 2013 +0100
Eo: fixed an issue with the test_value test.
---
src/tests/eo/suite/eo_test_value.c | 4 ++--
1 file 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)
{
eo_init();
char *str, *str2;
- Eina_Value_List eo_list;
Eina_Value val2, eo_val;
void *tmpp = NULL;
- Eo_Dbg_Info *eo_dbg_info, *tmp_dbg_info;
+ Eo_Dbg_Info *eo_dbg_info;
Eo *obj = eo_add(SIMPLE_CLASS, NULL);
eo_dbg_info = EO_DBG_INFO_LIST_APPEND(NULL, "Root");
@@ -26,6 +25,7 @@ START_TEST(eo_value)
str = eina_value_to_string(&eo_dbg_info->value);
ck_assert_str_eq(str, "[[8]]");
+ eina_value_setup(&val2, EO_DBG_INFO_TYPE);
eina_value_copy(&eo_dbg_info->value, &val2);
str2 = eina_value_to_string(&val2);
ck_assert_str_eq(str, str2);
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr