aboutsummaryrefslogtreecommitdiff
path: root/tests/test-menus.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-06-26 20:52:36 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-06-26 20:52:36 -0500
commitff5881ace7f91ca998b9722bc17a00fec3166461 (patch)
tree59735ca18502b16762a083b844a6bddbd1030d16 /tests/test-menus.cpp
parentdda9044eb9740ca995139711cd8318815bf88e2a (diff)
downloadayatana-indicator-datetime-ff5881ace7f91ca998b9722bc17a00fec3166461.tar.gz
ayatana-indicator-datetime-ff5881ace7f91ca998b9722bc17a00fec3166461.tar.bz2
ayatana-indicator-datetime-ff5881ace7f91ca998b9722bc17a00fec3166461.zip
fix test-menus.cpp build failure in clang++
Diffstat (limited to 'tests/test-menus.cpp')
-rw-r--r--tests/test-menus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-menus.cpp b/tests/test-menus.cpp
index b485037..f5f8df2 100644
--- a/tests/test-menus.cpp
+++ b/tests/test-menus.cpp
@@ -484,7 +484,7 @@ TEST_F(MenuFixture, HelloWorld)
EXPECT_EQ(Menu::NUM_PROFILES, m_menus.size());
for (int i=0; i<Menu::NUM_PROFILES; i++)
{
- EXPECT_TRUE(m_menus[i] != false);
+ EXPECT_TRUE(m_menus[i].get() != nullptr);
EXPECT_TRUE(m_menus[i]->menu_model() != nullptr);
EXPECT_EQ(i, m_menus[i]->profile());
}