stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3dad97ce32f2ff8c3e29574c7ec6c01c6bc81e66

commit 3dad97ce32f2ff8c3e29574c7ec6c01c6bc81e66
Author: Vincent Torri <vincent.to...@gmail.com>
Date:   Tue May 26 21:48:56 2020 +0000

    Eina file test: use the correct Eina file object
    
    Reviewed-by: Stefan Schmidt <ste...@datenfreihafen.org>
    Reviewed-by: Cedric BAIL <cedric.b...@free.fr>
    Differential Revision: https://phab.enlightenment.org/D11885
---
 src/tests/eina/eina_test_file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/eina/eina_test_file.c b/src/tests/eina/eina_test_file.c
index a76d17c746..8ef3d1a290 100644
--- a/src/tests/eina/eina_test_file.c
+++ b/src/tests/eina/eina_test_file.c
@@ -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

-- 


Reply via email to