diff options
author | Simon McVittie <smcv@collabora.com> | 2021-03-26 12:27:57 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-03-26 12:27:57 +0000 |
commit | 0383264db07b2bc4519719b34111bd6f939f0fe2 (patch) | |
tree | 57d04256496dd08f1e94b4b6674688155ac353ff /test/core/peer-on-bus.c | |
parent | 06a7fac32cfcd6c42fd6541a4d7770dc65588f68 (diff) | |
parent | a23a0a2e65329ee93e960c36ec2aec603fb8fd90 (diff) | |
download | dbus-glib-0383264db07b2bc4519719b34111bd6f939f0fe2.tar.gz |
Merge branch 'wip/smcv/better-assertions' into 'master'
Use better assertions
See merge request dbus/dbus-glib!3
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 |