forked from enlightenment/efl
tests: eio: make sure we check return value
Make sure we fail the test if the call does not succeed. CID: 1412364 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11963
This commit is contained in:
parent
bdd439875b
commit
b3bc1240a6
|
@ -89,7 +89,7 @@ _done_cb(void *data,
|
|||
|
||||
eina_value_setup(&convert, EINA_VALUE_TYPE_ULONG);
|
||||
eina_value_convert(&file, &convert);
|
||||
eina_value_ulong_get(&convert, &files_count);
|
||||
fail_unless(eina_value_ulong_get(&convert, &files_count));
|
||||
|
||||
fail_if((*number_of_listed_files) != test_count);
|
||||
fail_if(files_count != test_count);
|
||||
|
|
Loading…
Reference in New Issue