summaryrefslogtreecommitdiff
path: root/src/tests/eio
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-03-05 13:48:31 -0800
committerCedric BAIL <cedric@osg.samsung.com>2018-05-01 10:39:01 -0700
commit7712f04070d948f8572246e560c7a12e5ddb462f (patch)
tree82689d23ba8d2ebba8638535da41ad49a8aeeea3 /src/tests/eio
parentd895527bd5834da97d3fadd51ded327be1136dc3 (diff)
eio: update test to use the new EINA_VALUE_ARRAY_FOREACH.
Diffstat (limited to 'src/tests/eio')
-rw-r--r--src/tests/eio/eio_test_manager_xattr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eio/eio_test_manager_xattr.c b/src/tests/eio/eio_test_manager_xattr.c
index e3e98f6808..698843e4c3 100644
--- a/src/tests/eio/eio_test_manager_xattr.c
+++ b/src/tests/eio/eio_test_manager_xattr.c
@@ -73,7 +73,7 @@ _future_done_cb(void *data EINA_UNUSED,
73 fprintf(stderr, "Something has gone wrong: %s\n", eina_error_msg_get(err)); 73 fprintf(stderr, "Something has gone wrong: %s\n", eina_error_msg_get(err));
74 abort(); 74 abort();
75 } 75 }
76 EINA_VALUE_ARRAY_FOREACH(&array, len, i, &v) 76 EINA_VALUE_ARRAY_FOREACH(&array, len, i, v)
77 { 77 {
78 buf = eina_value_to_binbuf(&v); 78 buf = eina_value_to_binbuf(&v);
79 fail_if(!buf); 79 fail_if(!buf);
@@ -103,7 +103,7 @@ _future_all_cb(void *data,
103 fprintf(stderr, "Something has gone wrong: %s\n", eina_error_msg_get(err)); 103 fprintf(stderr, "Something has gone wrong: %s\n", eina_error_msg_get(err));
104 abort(); 104 abort();
105 } 105 }
106 EINA_VALUE_ARRAY_FOREACH(&array, len, i, &v) 106 EINA_VALUE_ARRAY_FOREACH(&array, len, i, v)
107 { 107 {
108 if (v.type == EINA_VALUE_TYPE_ERROR) 108 if (v.type == EINA_VALUE_TYPE_ERROR)
109 { 109 {