Skip to content

Commit bb06d37

Browse files
committedNov 27, 2016
Fix filepath > RemoveRelativePathComponent unittest
(was broken by e4ee654)
1 parent 785a9a6 commit bb06d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/unittest/test_filepath.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ void TestFilePath::testRemoveRelativePathComponent()
251251
UASSERT(result == p("/home/user/minetest/worlds/world1"));
252252
path = p(".");
253253
result = fs::RemoveRelativePathComponents(path);
254-
UASSERT(result == "");
254+
UASSERT(result == ".");
255255
path = p("./subdir/../..");
256256
result = fs::RemoveRelativePathComponents(path);
257257
UASSERT(result == "");

0 commit comments

Comments
 (0)
Please sign in to comment.