summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-05-26 21:48:56 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2020-05-27 15:18:59 +0200
commit3dad97ce32f2ff8c3e29574c7ec6c01c6bc81e66 (patch)
tree094b99a8aaf658453547759aff1056317eecd41d
parent4026c1595645df51838fd0a5e61bcba872af3b34 (diff)
downloadefl-3dad97ce32f2ff8c3e29574c7ec6c01c6bc81e66.tar.gz
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
-rw-r--r--src/tests/eina/eina_test_file.c2
1 files changed, 1 insertions, 1 deletions
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