mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Improve documentation of g_assert_error()
This macro is intended for use in tests, but recommends as an alternative to use a macro that is not intended for use in tests. Fix it.
This commit is contained in:
parent
26f783576d
commit
0618d67411
@ -751,7 +751,7 @@
|
||||
*
|
||||
* This can only be used to test for a specific error. If you want to
|
||||
* test that @err is set, but don't care what it's set to, just use
|
||||
* `g_assert (err != NULL)`
|
||||
* `g_assert_nonnull (err)`.
|
||||
*
|
||||
* Since: 2.20
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user