summaryrefslogtreecommitdiff
path: root/src/Hooks.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-17 09:28:57 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-17 13:10:08 -0800
commite7b044c11190ed4deae2c2bb61ff3cc2c99170b2 (patch)
tree7dc6d7f4740bfd628ac694ee5fe76746ecb1bf4e /src/Hooks.c
parent205e30739073d282d4401df57862ac3a5cf6a987 (diff)
tests: Replace g_assert() calls with g_assert_*() calls
https://docs.gtk.org/glib/testing.html warns against using g_assert() in test cases, since it is a no-op when compiling with G_DISABLE_ASSERT. The replacement calls also give more detailed messages on failures. Raises the minimum required glib version for building unit tests from 2.16 (released March 2008) to 2.40 (released March 2014) to get support for g_assert_nonnull(). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Hooks.c')
0 files changed, 0 insertions, 0 deletions