mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-30 04:13:06 +02:00
Merge branch 'mcatanzaro/queue' into 'master'
tests: Fix copy/paste error in queue test See merge request GNOME/glib!1995
This commit is contained in:
commit
2696384e0e
@ -435,7 +435,7 @@ random_test (gconstpointer d)
|
||||
g_assert (g_queue_peek_head (q) == NULL);
|
||||
break;
|
||||
case PEEK_TAIL:
|
||||
if (qinf->head)
|
||||
if (qinf->tail)
|
||||
g_assert (qinf->tail->data == g_queue_peek_tail (q));
|
||||
else
|
||||
g_assert (g_queue_peek_tail (q) == NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user