mirror of
https://github.com/monero-project/monero.git
synced 2026-01-17 15:22:48 -08:00
unit_tests: fix build with GCC 5.4.0 on ubuntu
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
TEST(is_hdd, linux_os_root)
|
||||
{
|
||||
std::string path = "/";
|
||||
EXPECT_TRUE(tools::is_hdd(path.c_str()));
|
||||
EXPECT_TRUE(tools::is_hdd(path.c_str()) != boost::none);
|
||||
}
|
||||
#else
|
||||
TEST(is_hdd, unknown_os)
|
||||
{
|
||||
std::string path = "";
|
||||
EXPECT_FALSE(tools::is_hdd(path.c_str()));
|
||||
EXPECT_FALSE(tools::is_hdd(path.c_str()) != boost::none);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user