mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 13:53:45 +08:00
tests/qapi-schema: Rename returns-whitelist to returns-bad-type
This test covers returning "bad" types. Pragma returns-whitelist is just one aspect. Naming it returns-whitelist is suboptimal. Rename to returns-bad-type. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-19-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
e90a61e3cc
commit
ef8b3829f6
@ -166,9 +166,9 @@ schemas = [
|
||||
'reserved-type-list.json',
|
||||
'returns-alternate.json',
|
||||
'returns-array-bad.json',
|
||||
'returns-bad-type.json',
|
||||
'returns-dict.json',
|
||||
'returns-unknown.json',
|
||||
'returns-whitelist.json',
|
||||
'string-code-point-31.json',
|
||||
'string-code-point-127.json',
|
||||
'struct-base-clash-deep.json',
|
||||
|
2
tests/qapi-schema/returns-bad-type.err
Normal file
2
tests/qapi-schema/returns-bad-type.err
Normal file
@ -0,0 +1,2 @@
|
||||
returns-bad-type.json: In command 'no-way-this-will-get-whitelisted':
|
||||
returns-bad-type.json:14: command's 'returns' cannot take array type ['int']
|
@ -1,2 +0,0 @@
|
||||
returns-whitelist.json: In command 'no-way-this-will-get-whitelisted':
|
||||
returns-whitelist.json:14: command's 'returns' cannot take array type ['int']
|
Loading…
Reference in New Issue
Block a user