summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/flat-union-invalid-discriminator.err
diff options
context:
space:
mode:
authorMarkus Armbruster2019-09-14 17:34:51 +0200
committerMarkus Armbruster2019-09-24 14:07:22 +0200
commit31248b985e30801c2676ff448291c2b3d02a1b8c (patch)
tree0ae34109b2807f6733654bced652c2d0f8669f22 /tests/qapi-schema/flat-union-invalid-discriminator.err
parenttests/qapi-schema: Demonstrate misleading optional tag error (diff)
downloadqemu-31248b985e30801c2676ff448291c2b3d02a1b8c.tar.gz
qemu-31248b985e30801c2676ff448291c2b3d02a1b8c.tar.xz
qemu-31248b985e30801c2676ff448291c2b3d02a1b8c.zip
tests/qapi-schema: Demonstrate broken discriminator errors
When the union definition's base is an object, some error messages show it as an OrderedDict. Oops. Mark FIXME. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190914153506.2151-5-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/flat-union-invalid-discriminator.err')
-rw-r--r--tests/qapi-schema/flat-union-invalid-discriminator.err2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/flat-union-invalid-discriminator.err b/tests/qapi-schema/flat-union-invalid-discriminator.err
index 5f4055614e..947a6b73aa 100644
--- a/tests/qapi-schema/flat-union-invalid-discriminator.err
+++ b/tests/qapi-schema/flat-union-invalid-discriminator.err
@@ -1 +1 @@
-tests/qapi-schema/flat-union-invalid-discriminator.json:13: Discriminator 'enum_wrong' is not a member of base struct 'TestBase'
+tests/qapi-schema/flat-union-invalid-discriminator.json:11: Discriminator 'enum_wrong' is not a member of base struct 'OrderedDict([('enum1', {'type': 'TestEnum'})])'