mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gschema-test: invert expectation for min/max omit
It is now completely valid. Fix up what is now a legitimate range error in the schema used in one of the tests.
This commit is contained in:
parent
cde83c8ccd
commit
d2af82e820
@ -50,8 +50,8 @@ static const SchemaTest tests[] = {
|
||||
{ "bad-type", NULL, "*invalid GVariant type string*" },
|
||||
{ "overflow", NULL, "*out of range*" },
|
||||
{ "range-wrong-type", NULL, "*<range> 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, "*<default> is not contained in the specified range*" },
|
||||
{ "choices-wrong-type", NULL, "*<choices> not allowed for keys of type*" },
|
||||
{ "choice-missing-value", NULL, "*element 'choice' requires attribute 'value'*" },
|
||||
|
@ -1,8 +1,8 @@
|
||||
<schemalist>
|
||||
<schema id="test">
|
||||
<key name="test" type="i">
|
||||
<range min="100" />
|
||||
<default>2</default>
|
||||
<range min="100"/>
|
||||
<default>200</default>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
||||
|
Loading…
Reference in New Issue
Block a user