diff --git a/gio/tests/gschema-compile.c b/gio/tests/gschema-compile.c
index 99b2d1b97..65f656c52 100644
--- a/gio/tests/gschema-compile.c
+++ b/gio/tests/gschema-compile.c
@@ -86,7 +86,7 @@ static const SchemaTest tests[] = {
{ "enum", NULL, NULL },
{ "enum-with-aliases", NULL, NULL },
{ "enum-with-invalid-alias", NULL, "*“banger” is not in enumerated type*" },
- { "enum-with-invalid-value", NULL, "*invalid numeric value*" },
+ { "enum-with-invalid-value", NULL, "*Invalid numeric value*" },
{ "enum-with-repeated-alias", NULL, "* already specified*" },
{ "enum-with-repeated-nick", NULL, "* already specified*" },
{ "enum-with-repeated-value", NULL, "*value='1' already specified*" },