diff --git a/gio/tests/gschema-compile.c b/gio/tests/gschema-compile.c index 2ffa85b56..65c5c3a25 100644 --- a/gio/tests/gschema-compile.c +++ b/gio/tests/gschema-compile.c @@ -50,8 +50,8 @@ static const SchemaTest tests[] = { { "bad-type", NULL, "*invalid GVariant type string*" }, { "overflow", NULL, "*out of range*" }, { "range-wrong-type", NULL, "* not allowed for keys of type*" }, - { "range-missing-min", NULL, "*element 'range' requires attribute 'min'*" }, - { "range-missing-max", NULL, "*element 'range' requires attribute 'max'*" }, + { "range-missing-min", NULL, NULL }, + { "range-missing-max", NULL, NULL }, { "default-out-of-range", NULL, "* is not contained in the specified range*" }, { "choices-wrong-type", NULL, "* not allowed for keys of type*" }, { "choice-missing-value", NULL, "*element 'choice' requires attribute 'value'*" }, diff --git a/gio/tests/schema-tests/range-missing-max.gschema.xml b/gio/tests/schema-tests/range-missing-max.gschema.xml index 8e8bd55e2..c5c43b901 100644 --- a/gio/tests/schema-tests/range-missing-max.gschema.xml +++ b/gio/tests/schema-tests/range-missing-max.gschema.xml @@ -1,8 +1,8 @@ - - 2 + + 200