1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-08-13 16:53:49 -04:00

Fix filepath > RemoveRelativePathComponent unittest

(was broken by e4ee6548af)
This commit is contained in:
sfan5 2016-11-27 18:38:28 +01:00
parent 785a9a6c1a
commit bb06d377a1

View File

@ -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 == "");