diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-01-12 20:27:16 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-01-12 20:27:16 +0000 |
commit | 42e7c208b7ce649b9fb5d0141c88aa74ceb54f23 (patch) | |
tree | 9492b7241a8ae7c16f752e8c7ae48632491cc82a /tests | |
parent | 864c7a4d9715629438b1b1c1c46a7b24d6e58120 (diff) |
Fix the assert to not always trigger. (#326558, Daichi Kawahata)
2006-01-12 Matthias Clasen <mclasen@redhat.com>
* tests/asyncqueue-test.c (main): Fix the
assert to not always trigger. (#326558,
Daichi Kawahata)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/asyncqueue-test.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/asyncqueue-test.c b/tests/asyncqueue-test.c index 8dbe94bfd..b8f2ad1ce 100644 --- a/tests/asyncqueue-test.c +++ b/tests/asyncqueue-test.c @@ -154,9 +154,7 @@ int main (int argc, char *argv[]) g_thread_pool_push (thread_pool, GINT_TO_POINTER (i), &error); - if (!error) { - g_assert_not_reached (); - } + g_assert (error == NULL); } if (!SORT_QUEUE_AFTER) { |