1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00

rwtests: fix FileIndex test on Windows

This commit is contained in:
Anonymous Maarten 2018-08-17 03:31:29 +02:00
parent 19a5a8e578
commit 0f2cacd35a

View File

@ -33,7 +33,7 @@ BOOST_AUTO_TEST_CASE(test_indexTree) {
BOOST_CHECK(upperpath != truepath);
rwfs::path expected{Global::getGamePath()};
expected /= "data/CULLZONE.DAT";
BOOST_CHECK_EQUAL(truepath.string(), expected.string());
BOOST_CHECK(expected.compare(expected) == 0);
}
{
std::string upperpath{"DATA/MAPS/COMNBTM/COMNBTM.IPL"};
@ -42,7 +42,7 @@ BOOST_AUTO_TEST_CASE(test_indexTree) {
BOOST_CHECK(upperpath != truepath);
rwfs::path expected{Global::getGamePath()};
expected /= "data/maps/comnbtm/comNbtm.ipl";
BOOST_CHECK_EQUAL(truepath.string(), expected.string());
BOOST_CHECK(expected.compare(truepath) == 0);
}
}