summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-05-26 13:34:04 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-05-26 13:35:07 -0300
commitb0b8109cd5dbe295f3024b98723336bbb89feda8 (patch)
treeaa198f73ff1ed77f2ebcb3e5bf3a0c227bbad888 /src/tests
parentb7cdcff56a6e214ccb70ea761bbbbfdfc24a310a (diff)
eina: Make cancelled promises use EINA_ERROR_PROMISE_CANCELLED error code
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/ecore/ecore_test_promise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/ecore/ecore_test_promise.c b/src/tests/ecore/ecore_test_promise.c
index bf2a16076a..decd5c9588 100644
--- a/src/tests/ecore/ecore_test_promise.c
+++ b/src/tests/ecore/ecore_test_promise.c
@@ -329,7 +329,7 @@ static void _cancel_callback(const void* data, Eina_Promise_Owner* promise EINA_
329 329
330static void _cancel_promise_callback(void* data EINA_UNUSED, Eina_Error value, Eina_Promise* promise EINA_UNUSED) 330static void _cancel_promise_callback(void* data EINA_UNUSED, Eina_Error value, Eina_Promise* promise EINA_UNUSED)
331{ 331{
332 ck_assert(!!value); 332 ck_assert(value == EINA_ERROR_PROMISE_CANCEL);
333 ecore_main_loop_quit(); 333 ecore_main_loop_quit();
334} 334}
335 335