This website requires JavaScript.
Explore
Help
Sign In
haraldwolff
/
qemu-patch-raspberry4
Watch
1
Star
0
Fork
You've already forked qemu-patch-raspberry4
0
Code
Issues
Pull requests
Packages
Projects
Releases
Wiki
Activity
baa873f750
qemu-patch-raspberry4
/
tests
/
qapi-schema
/
duplicate-key.json
4 lines
92 B
JSON
Raw
Normal View
History
Unescape
Escape
tests/qapi-schema: Delete two redundant tests Tests duplicate-key and double-data test the same thing. The former predates the latter, and it has a better name. Delete the latter, and tweak the former's comment. Tests include-format-err and include-extra-junk test the same thing. The former predates the latter, but the latter has a better name and a comment. Delete the former. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190914153506.2151-3-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
2019-09-14 17:34:49 +02:00
#
C
a
n
n
o
t
i
n
c
l
u
d
e
t
h
e
s
a
m
e
k
e
y
m
o
r
e
t
h
a
n
o
n
c
e
i
n
a
n
y
{
}
qapi script: add check for duplicated key It is bad that same key was specified twice, especially when a union has two branches with same condition. This patch can prevent it. Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-03-05 03:44:32 +01:00
{
'
k
e
y
'
:
'
v
a
l
u
e
'
,
'
k
e
y
'
:
'
v
a
l
u
e
'
}
Reference in a new issue
Copy permalink