summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-01-12 20:27:16 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-01-12 20:27:16 +0000
commit42e7c208b7ce649b9fb5d0141c88aa74ceb54f23 (patch)
tree9492b7241a8ae7c16f752e8c7ae48632491cc82a /tests
parent864c7a4d9715629438b1b1c1c46a7b24d6e58120 (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.c4
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) {