diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test-path-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-path-util.c b/src/test/test-path-util.c index 2bca5ef604..be686f29e7 100644 --- a/src/test/test-path-util.c +++ b/src/test/test-path-util.c @@ -51,7 +51,7 @@ static void test_path(void) { assert_se(streq(path_get_file_name("./aa/bb/../file.da."), "file.da.")); assert_se(streq(path_get_file_name("/aa///.file"), ".file")); assert_se(streq(path_get_file_name("/aa///file..."), "file...")); - assert_se(streq(path_get_file_name("file.../"), ".")); + assert_se(streq(path_get_file_name("file.../"), "")); #define test_parent(x, y) { \ char *z; \ |