diff --git a/glib/tests/markup-collect.c b/glib/tests/markup-collect.c
index 46d2a4262..b9890b7e5 100644
--- a/glib/tests/markup-collect.c
+++ b/glib/tests/markup-collect.c
@@ -96,6 +96,9 @@ static struct test tests[] =
{ "", "" },
{ "", "" },
+ { "", "" },
+ { "some text is in here", "" },
+
{ "", "",
G_MARKUP_ERROR_MISSING_ATTRIBUTE, "'mb'" },
@@ -147,7 +150,7 @@ test_collect (gconstpointer d)
gboolean result;
string = g_string_new ("");
- ctx = g_markup_parse_context_new (&parser, 0, string, NULL);
+ ctx = g_markup_parse_context_new (&parser, G_MARKUP_IGNORE_QUALIFIED, string, NULL);
result = g_markup_parse_context_parse (ctx,
test->document,
-1, &error);