mirror of
https://github.com/rwengine/openrw.git
synced 2024-09-15 15:02:34 +02:00
run_tests: fix 'Type has to implement operator<< to be printable' (MSVC compiler)
fixes: error C2338: Type has to implement operator<< to be printable error C2679: binary '<<': no operator found which takes a right-hand operand of type 'const boost::filesystem::path::string_type' (or there is no acceptable conversion)
This commit is contained in:
parent
382c28c9e3
commit
21c722f7cc
@ -20,7 +20,7 @@ BOOST_AUTO_TEST_CASE(test_directory_paths) {
|
||||
BOOST_CHECK(upperpath != truepath);
|
||||
fs::path expected{Global::getGamePath()};
|
||||
expected /= "data/CULLZONE.DAT";
|
||||
BOOST_CHECK_EQUAL(truepath.native(), expected.native());
|
||||
BOOST_CHECK_EQUAL(truepath.string(), expected.string());
|
||||
}
|
||||
{
|
||||
std::string upperpath{"DATA/MAPS/COMNBTM/COMNBTM.IPL"};
|
||||
@ -29,7 +29,7 @@ BOOST_AUTO_TEST_CASE(test_directory_paths) {
|
||||
BOOST_CHECK(upperpath != truepath);
|
||||
fs::path expected{Global::getGamePath()};
|
||||
expected /= "data/maps/comnbtm/comNbtm.ipl";
|
||||
BOOST_CHECK_EQUAL(truepath.native(), expected.native());
|
||||
BOOST_CHECK_EQUAL(truepath.string(), expected.string());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user