gtestutils: Document difference between g_assert() and g_assert_*()51ce8d204c62bdc67f7d6f5816b3192f43ac6175
commit51ce8d204c62bdc67f7d6f5816b3192f43ac6175
authorPhilip Withnall <withnall@endlessm.com>
Wed, 11 Jul 2018 15:29:49 +0000 (11 17:29 +0200)
committerPhilip Withnall <withnall@endlessm.com>
Wed, 11 Jul 2018 15:29:49 +0000 (11 17:29 +0200)
treed7cfdfd6d4080a8ba599ae842dc49120dd1b20ee
parentad3947c42ee4b695b8371abc8d99cadf66a92829
gtestutils: Document difference between g_assert() and g_assert_*()

g_assert() must not be used in tests. g_assert_*() must not be used in
production code.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://gitlab.gnome.org/GNOME/glib/issues/976
glib/gtestutils.c