Skip to content
Snippets Groups Projects
Commit bb06d377 authored by sfan5's avatar sfan5
Browse files

Fix filepath > RemoveRelativePathComponent unittest

(was broken by e4ee6548)
parent 785a9a6c
No related branches found
No related tags found
No related merge requests found
......@@ -251,7 +251,7 @@ void TestFilePath::testRemoveRelativePathComponent()
UASSERT(result == p("/home/user/minetest/worlds/world1"));
path = p(".");
result = fs::RemoveRelativePathComponents(path);
UASSERT(result == "");
UASSERT(result == ".");
path = p("./subdir/../..");
result = fs::RemoveRelativePathComponents(path);
UASSERT(result == "");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment