From 66c7f919ad25477acb5f592996121b042594ff55 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Tue, 26 May 2020 21:48:56 +0000 Subject: [PATCH] Eina file test: use the correct Eina file object Reviewed-by: Stefan Schmidt Reviewed-by: Cedric BAIL 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 a76d17c..8ef3d1a 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 -- 2.7.4