Fix g_test_trap_reached_timeout

The function was returning the opposite of what the
documentation says.
This commit is contained in:
Matthias Clasen 2013-12-25 23:50:37 -05:00
parent e013cf9cad
commit 3343bc3385

View File

@ -2930,7 +2930,7 @@ g_test_trap_has_passed (void)
gboolean gboolean
g_test_trap_reached_timeout (void) 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 void