aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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)