Skip to content

Commit

Permalink
Fix filepath > RemoveRelativePathComponent unittest
Browse files Browse the repository at this point in the history
(was broken by e4ee654)
  • Loading branch information
sfan5 committed Nov 27, 2016
1 parent 785a9a6 commit bb06d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unittest/test_filepath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "");
Expand Down

0 comments on commit bb06d37

Please sign in to comment.