forked from enlightenment/efl
Eina file test: use the correct Eina file object
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D11885
This commit is contained in:
parent
4211bc1f3c
commit
e6dd33d7a5
|
@ -376,7 +376,7 @@ EFL_START_TEST(eina_file_map_new_test)
|
|||
fail_if(eina_file_refresh(e_file));
|
||||
|
||||
e_file2 = eina_file_open(test_file2_path, EINA_FALSE);
|
||||
fail_if(!e_file);
|
||||
fail_if(!e_file2);
|
||||
file2_length = eina_file_size_get(e_file2);
|
||||
correct_file_open_check = file2_length - (big_buffer_size - file_min_offset);
|
||||
// check size of big_buffer == size of file
|
||||
|
|
Loading…
Reference in New Issue