diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-23 13:47:30 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-23 14:38:31 +0000 |
commit | 92d1da28efcd750c5dc07e20de046375bfbe595e (patch) | |
tree | 3e4c0acc55e754fe10391a0efa792b4c9fe292d8 /tests/unit_tests/is_hdd.cpp | |
parent | Merge pull request #4416 (diff) | |
download | monero-92d1da28efcd750c5dc07e20de046375bfbe595e.tar.xz |
unit_tests: fix build with GCC 5.4.0 on ubuntu
Diffstat (limited to '')
-rw-r--r-- | tests/unit_tests/is_hdd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit_tests/is_hdd.cpp b/tests/unit_tests/is_hdd.cpp index 1be670e5e..040af4f47 100644 --- a/tests/unit_tests/is_hdd.cpp +++ b/tests/unit_tests/is_hdd.cpp @@ -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 |