mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix filepath > RemoveRelativePathComponent unittest
(was broken by e4ee6548af
)
This commit is contained in:
parent
785a9a6c1a
commit
bb06d377a1
1 changed files with 1 additions and 1 deletions
|
@ -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 == "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue