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:
Vincent Torri 2020-05-26 21:48:56 +00:00 committed by Stefan Schmidt
parent 4026c15956
commit 3dad97ce32
1 changed files with 1 additions and 1 deletions

View File

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