mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 03:46:17 +01:00
Fix g_test_trap_reached_timeout
The function was returning the opposite of what the documentation says.
This commit is contained in:
parent
e013cf9cad
commit
3343bc3385
@ -2930,7 +2930,7 @@ g_test_trap_has_passed (void)
|
||||
gboolean
|
||||
g_test_trap_reached_timeout (void)
|
||||
{
|
||||
return test_trap_last_status != G_TEST_STATUS_TIMED_OUT;
|
||||
return test_trap_last_status == G_TEST_STATUS_TIMED_OUT;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user