summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-31 16:17:41 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-31 16:17:41 +0200
commitbcb3b8e5a9d22c5ecacb1f41c46e3892238d65ce (patch)
tree564759f3c811a70a8eff2b9d38bf73d1a0be496a /tests
parentd4de8aed80e4b69eaa91f19b52e117e91a4ec596 (diff)
downloadtelepathy-logger-bcb3b8e5a9d22c5ecacb1f41c46e3892238d65ce.tar.gz
Don't compare booleans to TRUE and FALSE
Diffstat (limited to 'tests')
-rw-r--r--tests/test-tpl-observer.c2
-rw-r--r--tests/twisted/main-debug.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-tpl-observer.c b/tests/test-tpl-observer.c
index e26e007..c3dfc32 100644
--- a/tests/test-tpl-observer.c
+++ b/tests/test-tpl-observer.c
@@ -44,7 +44,7 @@ main (int argc, char **argv)
/* proper disposal for the singleton when no references are present */
g_object_unref (obs);
- g_assert (TPL_IS_OBSERVER (obs) == FALSE);
+ g_assert (!TPL_IS_OBSERVER (obs));
return 0;
}
diff --git a/tests/twisted/main-debug.c b/tests/twisted/main-debug.c
index d7f716a..c3f04ac 100644
--- a/tests/twisted/main-debug.c
+++ b/tests/twisted/main-debug.c
@@ -41,7 +41,7 @@ tpl_init (void)
(TplChannelConstructor) tpl_channel_test_new);
observer = tpl_observer_new ();
- if (tp_base_client_register (TP_BASE_CLIENT (observer), &error) == FALSE)
+ if (!tp_base_client_register (TP_BASE_CLIENT (observer), &error))
{
g_debug ("Error during D-Bus registration: %s", error->message);
g_error_free (error);