diff options
author | sfan5 <sfan5@live.de> | 2016-11-27 18:38:28 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2016-11-27 18:39:00 +0100 |
commit | bb06d377a163b2d168c9d327ad38b871132fa8ea (patch) | |
tree | 9060aabbe1b293033e92cb8455fe8856170d2685 /src/unittest | |
parent | 785a9a6c1af424b0a46f334de7176c9e67341cfb (diff) | |
download | minetest-bb06d377a163b2d168c9d327ad38b871132fa8ea.tar.gz minetest-bb06d377a163b2d168c9d327ad38b871132fa8ea.tar.bz2 minetest-bb06d377a163b2d168c9d327ad38b871132fa8ea.zip |
Fix filepath > RemoveRelativePathComponent unittest
(was broken by e4ee6548afd01040046ee3780d0fbb121d141251)
Diffstat (limited to 'src/unittest')
-rw-r--r-- | src/unittest/test_filepath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 == ""); |