diff options
Diffstat (limited to 'test/core/peer-on-bus.c')
-rw-r--r-- | test/core/peer-on-bus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core/peer-on-bus.c b/test/core/peer-on-bus.c index 4a62420..87ff2d8 100644 --- a/test/core/peer-on-bus.c +++ b/test/core/peer-on-bus.c @@ -56,10 +56,10 @@ setup (Fixture *f, gconstpointer path_to_use) { f->bus = dbus_g_bus_get_private (DBUS_BUS_SESSION, NULL, NULL); - g_assert (f->bus != NULL); + g_assert_nonnull (f->bus); f->bus2 = dbus_g_bus_get_private (DBUS_BUS_SESSION, NULL, NULL); - g_assert (f->bus2 != NULL); + g_assert_nonnull (f->bus2); } static void |