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
76432d988b
qemu-patch-raspberry4
/
tests
/
qapi-schema
/
struct-member-invalid.json
3 lines
46 B
JSON
Raw
Normal View
History
Unescape
Escape
qapi: Enforce type naming rules Type names should be CamelCase. Enforce this. The only offenders are in tests/. Fix them. Add test type-case to cover the new error. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-15-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> [Regexp simplified, new test made more robust]
2021-03-23 10:40:11 +01:00
{
'
s
t
r
u
c
t
'
:
'
F
o
o
'
,
tests/qapi-schema: Cover non-string, non-dictionary members We always report "should be a dictionary" then. This is misleading: when allow_dict, it can be a dictionary or a type name string, else it can only be a type name. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
2015-08-31 17:17:42 +02:00
'
d
a
t
a
'
:
{
'
a
'
:
f
a
l
s
e
}
}
Reference in a new issue
Copy permalink