From bb06d377a163b2d168c9d327ad38b871132fa8ea Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 27 Nov 2016 18:38:28 +0100 Subject: [PATCH] Fix filepath > RemoveRelativePathComponent unittest (was broken by e4ee6548afd01040046ee3780d0fbb121d141251) --- src/unittest/test_filepath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unittest/test_filepath.cpp b/src/unittest/test_filepath.cpp index 6ea7ac076..5e3cdcc08 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 == ""); -- 2.25.1