mirror of
https://github.com/qemu/qemu.git
synced 2024-11-23 19:03:38 +08:00
tests/qapi-schema: Demonstrate bad reporting of funny characters
Invalid name 'not\\possible' is reported as 'not\possible'. Control characters (quoted or not) are even more confusing. Mark FIXME. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20190913201349.24332-6-armbru@redhat.com>
This commit is contained in:
parent
e24fe238e2
commit
05d6ecd049
@ -1 +1 @@
|
||||
tests/qapi-schema/enum-bad-name.json:2: Member of enum 'MyEnum' uses invalid name 'not^possible'
|
||||
tests/qapi-schema/enum-bad-name.json:3: Member of enum 'MyEnum' uses invalid name 'not\possible'
|
||||
|
@ -1,2 +1,3 @@
|
||||
# we ensure all enum names can map to C
|
||||
{ 'enum': 'MyEnum', 'data': [ 'not^possible' ] }
|
||||
# FIXME reports 'not\possible' instead of 'not\\possible'
|
||||
{ 'enum': 'MyEnum', 'data': [ 'not\\possible' ] }
|
||||
|
Loading…
Reference in New Issue
Block a user