diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-29 10:45:05 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-03-29 10:49:06 -0400 |
commit | 590f50130f3d30f660fee6781cf4ba97cba8f627 (patch) | |
tree | 1b52f57c51b664668af8f14d9c2ec50ec83ab00d /src | |
parent | 8b3227c90d20eaa834bd5efc68007cf6b20fbdbb (diff) |
test-path-util: fix botched test
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; \ |