summaryrefslogtreecommitdiff
path: root/src/tests/elementary
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-12-31 15:28:23 +0000
committerAndy Williams <andy@andywilliams.me>2017-12-31 15:28:23 +0000
commit0a068ac549e0dbdc27fec5925a99934ec09d9855 (patch)
treee7a892ee45bbbeca6c0b3543372fe25a93bc9598 /src/tests/elementary
parent541d6527face44f372966054d11a0f6fadf6ee75 (diff)
downloadefl-0a068ac549e0dbdc27fec5925a99934ec09d9855.tar.gz
elm_code: Fix usage of basename
Diffstat (limited to 'src/tests/elementary')
-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 7e21b235f1..30cd30e534 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)
file = elm_code_file_open(code, path);
realpath(path, real);
- ck_assert_str_eq(basename(path), elm_code_file_filename_get(file));
+ ck_assert_str_eq(ecore_file_file_get(path), elm_code_file_filename_get(file));
ck_assert_str_eq(real, elm_code_file_path_get(file));
elm_code_file_close(file);
elm_code_free(code);