diff --git a/src/unittest/test_filepath.cpp b/src/unittest/test_filepath.cpp index 6ea7ac0768d3c3b20a2f28c267b2082747b08176..5e3cdcc089fbf86659bb4ecdaba06ac81bb1b3d9 100644 --- a/src/unittest/test_filepath.cpp +++ b/src/unittest/test_filepath.cpp @@ -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 == "");