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-06-15 15:35:27 +0200
commite6dd33d7a565ad7c0529db7a92e9463fc4fae95b (patch)
tree5a23feb2e25a64913af8b7c6432044b4d3096df8
parent4211bc1f3cb09dadcc0832e2fc021779c4654eb0 (diff)
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)
376 fail_if(eina_file_refresh(e_file)); 376 fail_if(eina_file_refresh(e_file));
377 377
378 e_file2 = eina_file_open(test_file2_path, EINA_FALSE); 378 e_file2 = eina_file_open(test_file2_path, EINA_FALSE);
379 fail_if(!e_file); 379 fail_if(!e_file2);
380 file2_length = eina_file_size_get(e_file2); 380 file2_length = eina_file_size_get(e_file2);
381 correct_file_open_check = file2_length - (big_buffer_size - file_min_offset); 381 correct_file_open_check = file2_length - (big_buffer_size - file_min_offset);
382 // check size of big_buffer == size of file 382 // check size of big_buffer == size of file