test-utils-glib: Ensure correct precedence in g_assert_nonnull()

It's best-practice to put macro arguments in parentheses so that they
are always treated as a unit.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2022-03-02 13:03:52 +00:00
parent ccea70515e
commit b7c325e573

View file

@ -127,7 +127,7 @@ backported_g_steal_pointer (gpointer pointer_to_pointer)
#endif
#ifndef g_assert_nonnull
#define g_assert_nonnull(a) g_assert (a != NULL)
#define g_assert_nonnull(a) g_assert ((a) != NULL)
#endif
gboolean test_check_tcp_works (void);