mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
tests/qapi-schema: Cover two more syntax errors
Syntax error coverage should now be complete. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
65fbe12545
commit
91f9816da4
9 changed files with 9 additions and 0 deletions
1
tests/qapi-schema/leading-comma-list.err
Normal file
1
tests/qapi-schema/leading-comma-list.err
Normal file
|
@ -0,0 +1 @@
|
|||
tests/qapi-schema/leading-comma-list.json:2:13: Expected "{", "[", "]", string, boolean or "null"
|
1
tests/qapi-schema/leading-comma-list.exit
Normal file
1
tests/qapi-schema/leading-comma-list.exit
Normal file
|
@ -0,0 +1 @@
|
|||
1
|
2
tests/qapi-schema/leading-comma-list.json
Normal file
2
tests/qapi-schema/leading-comma-list.json
Normal file
|
@ -0,0 +1,2 @@
|
|||
{ 'enum': 'Status',
|
||||
'data': [ , 'good', 'bad', 'ugly' ] }
|
0
tests/qapi-schema/leading-comma-list.out
Normal file
0
tests/qapi-schema/leading-comma-list.out
Normal file
1
tests/qapi-schema/leading-comma-object.err
Normal file
1
tests/qapi-schema/leading-comma-object.err
Normal file
|
@ -0,0 +1 @@
|
|||
tests/qapi-schema/leading-comma-object.json:1:3: Expected string or "}"
|
1
tests/qapi-schema/leading-comma-object.exit
Normal file
1
tests/qapi-schema/leading-comma-object.exit
Normal file
|
@ -0,0 +1 @@
|
|||
1
|
2
tests/qapi-schema/leading-comma-object.json
Normal file
2
tests/qapi-schema/leading-comma-object.json
Normal file
|
@ -0,0 +1,2 @@
|
|||
{ , 'enum': 'Status',
|
||||
'data': [ 'good', 'bad', 'ugly' ] }
|
0
tests/qapi-schema/leading-comma-object.out
Normal file
0
tests/qapi-schema/leading-comma-object.out
Normal file
Loading…
Add table
Add a link
Reference in a new issue