mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-15 06:52:34 +02:00
rwtests: fix FileIndex test on Windows
This commit is contained in:
parent
19a5a8e578
commit
0f2cacd35a
@ -33,7 +33,7 @@ BOOST_AUTO_TEST_CASE(test_indexTree) {
|
|||||||
BOOST_CHECK(upperpath != truepath);
|
BOOST_CHECK(upperpath != truepath);
|
||||||
rwfs::path expected{Global::getGamePath()};
|
rwfs::path expected{Global::getGamePath()};
|
||||||
expected /= "data/CULLZONE.DAT";
|
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"};
|
std::string upperpath{"DATA/MAPS/COMNBTM/COMNBTM.IPL"};
|
||||||
@ -42,7 +42,7 @@ BOOST_AUTO_TEST_CASE(test_indexTree) {
|
|||||||
BOOST_CHECK(upperpath != truepath);
|
BOOST_CHECK(upperpath != truepath);
|
||||||
rwfs::path expected{Global::getGamePath()};
|
rwfs::path expected{Global::getGamePath()};
|
||||||
expected /= "data/maps/comnbtm/comNbtm.ipl";
|
expected /= "data/maps/comnbtm/comNbtm.ipl";
|
||||||
BOOST_CHECK_EQUAL(truepath.string(), expected.string());
|
BOOST_CHECK(expected.compare(truepath) == 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user