aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-22 09:16:32 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-22 09:16:32 -0600
commit572377478193fab7189e817f08487a17543ee32b (patch)
tree530a1c510e4cef5cc5c71e1a7474af4c07141cff /tests
parentdd41db685c518acab1c8e3676f4292f66e4d0476 (diff)
downloadayatana-indicator-datetime-572377478193fab7189e817f08487a17543ee32b.tar.gz
ayatana-indicator-datetime-572377478193fab7189e817f08487a17543ee32b.tar.bz2
ayatana-indicator-datetime-572377478193fab7189e817f08487a17543ee32b.zip
silence a minor compiler warning in test-settings
Diffstat (limited to 'tests')
-rw-r--r--tests/test-settings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-settings.cpp b/tests/test-settings.cpp
index 9e52197..df01cd7 100644
--- a/tests/test-settings.cpp
+++ b/tests/test-settings.cpp
@@ -61,14 +61,14 @@ protected:
{
EXPECT_EQ(g_settings_get_boolean(m_gsettings, key), property.get());
g_settings_set_boolean(m_gsettings, key, false);
- EXPECT_EQ(false, property.get());
+ EXPECT_FALSE(property.get());
g_settings_set_boolean(m_gsettings, key, true);
- EXPECT_EQ(true, property.get());
+ EXPECT_TRUE(property.get());
property.set(false);
- EXPECT_EQ(false, g_settings_get_boolean(m_gsettings, key));
+ EXPECT_FALSE(g_settings_get_boolean(m_gsettings, key));
property.set(true);
- EXPECT_EQ(true, g_settings_get_boolean(m_gsettings, key));
+ EXPECT_TRUE(g_settings_get_boolean(m_gsettings, key));
}
void TestStringProperty(core::Property<std::string>& property, const gchar* key)