summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_code_file_test_load.c
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-01-22 19:58:29 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2018-01-25 15:27:05 -0300
commit3a6ff3c6b366762848e7b6a9f3068462b99c73b5 (patch)
treeaac62f467dfc85d4a843b466803c67d442df2892 /src/tests/elementary/elm_code_file_test_load.c
parent9b56d9a257b03b65ea34a5717c8f3580ce3785ba (diff)
tests: Check return value in tests.
GCC was complaining about ignored return values from realpath, chdir, etc.
Diffstat (limited to 'src/tests/elementary/elm_code_file_test_load.c')
-rw-r--r--src/tests/elementary/elm_code_file_test_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/elementary/elm_code_file_test_load.c b/src/tests/elementary/elm_code_file_test_load.c
index b731f66..fcdfb2f 100644
--- a/src/tests/elementary/elm_code_file_test_load.c
+++ b/src/tests/elementary/elm_code_file_test_load.c
@@ -19,7 +19,7 @@ START_TEST (elm_code_file_load)
19 elm_init(1, NULL); 19 elm_init(1, NULL);
20 code = elm_code_create(); 20 code = elm_code_create();
21 file = elm_code_file_open(code, path); 21 file = elm_code_file_open(code, path);
22 realpath(path, real); 22 ck_assert_ptr_ne(realpath(path, real), NULL);
23 23
24 ck_assert_str_eq(ecore_file_file_get(path), elm_code_file_filename_get(file)); 24 ck_assert_str_eq(ecore_file_file_get(path), elm_code_file_filename_get(file));
25 ck_assert_str_eq(real, elm_code_file_path_get(file)); 25 ck_assert_str_eq(real, elm_code_file_path_get(file));