summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema
diff options
context:
space:
mode:
authorJohn Snow2021-04-21 20:20:21 +0200
committerMarkus Armbruster2021-04-30 12:59:54 +0200
commit926bb8add7c549496c612fcd4a32f3cf37883c2a (patch)
treebb319e2fa6d2959d8add1d24fc1dc97201d38a07 /tests/qapi-schema
parentqapi/expr.py: Add assertion for union type 'check_dict' (diff)
downloadqemu-926bb8add7c549496c612fcd4a32f3cf37883c2a.tar.gz
qemu-926bb8add7c549496c612fcd4a32f3cf37883c2a.tar.xz
qemu-926bb8add7c549496c612fcd4a32f3cf37883c2a.zip
qapi/expr.py: move string check upwards in check_type
For readability purposes only, shimmy the early return upwards to the top of the function, so cases proceed in order from least to most complex. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Cleber Rosa <crosa@redhat.com> Message-Id: <20210421182032.3521476-7-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema')
0 files changed, 0 insertions, 0 deletions