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