From b4632e1c98e361cf4700f3e5dcc229a09a6237e4 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 26 Nov 2010 22:46:51 +0100 Subject: [PATCH] Fix the wrong-category schema test It's supposed to test a with a non-existent category, so make it actually check this! Bug #635882. --- gio/tests/gschema-compile.c | 2 +- gio/tests/schema-tests/wrong-category.gschema.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gio/tests/gschema-compile.c b/gio/tests/gschema-compile.c index caefb8975..2ffa85b56 100644 --- a/gio/tests/gschema-compile.c +++ b/gio/tests/gschema-compile.c @@ -46,7 +46,7 @@ static const SchemaTest tests[] = { { "no-default", NULL, "* is required in *" }, { "missing-quotes", NULL, "*unknown keyword*" }, { "incomplete-list", NULL, "*to follow array element*" }, - { "wrong-category", NULL, "*attribute 'l10n' invalid*" }, + { "wrong-category", NULL, "*unsupported l10n category*" }, { "bad-type", NULL, "*invalid GVariant type string*" }, { "overflow", NULL, "*out of range*" }, { "range-wrong-type", NULL, "* not allowed for keys of type*" }, diff --git a/gio/tests/schema-tests/wrong-category.gschema.xml b/gio/tests/schema-tests/wrong-category.gschema.xml index 5c1ec7923..c54824833 100644 --- a/gio/tests/schema-tests/wrong-category.gschema.xml +++ b/gio/tests/schema-tests/wrong-category.gschema.xml @@ -1,7 +1,7 @@ - - 'foo' + + 'foo'