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:
Stefan Schmidt 2020-06-10 12:30:48 +02:00
parent bdd439875b
commit b3bc1240a6
1 changed files with 1 additions and 1 deletions

View File

@ -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);