aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/pragma-value-not-list-of-str.json
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2021-03-23 10:40:14 +0100
committerMarkus Armbruster <armbru@redhat.com>2021-03-23 22:31:05 +0100
commite90a61e3cc1ab30a2069173aee8b592933d827a1 (patch)
tree66e8a7a3dded3e6e94fb33f318b22e6ec2d47940 /tests/qapi-schema/pragma-value-not-list-of-str.json
parent4a67bd31a4a45773ed1e33ebd06ff949ff9525d7 (diff)
tests/qapi-schema: Rename pragma-*-crap to pragma-value-not-*
Rename pragma-doc-required-crap to pragma-not-bool, pragma-returns-whitelist-crap to pragma-value-not-list, and pragma-name-case-whitelist-crap to pragma-value-not-list-of-str. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20210323094025.3569441-18-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qapi-schema/pragma-value-not-list-of-str.json')
-rw-r--r--tests/qapi-schema/pragma-value-not-list-of-str.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qapi-schema/pragma-value-not-list-of-str.json b/tests/qapi-schema/pragma-value-not-list-of-str.json
new file mode 100644
index 0000000000..12bbbed2e8
--- /dev/null
+++ b/tests/qapi-schema/pragma-value-not-list-of-str.json
@@ -0,0 +1,3 @@
+# pragma value must be list of strings
+
+{ 'pragma': { 'returns-whitelist': [ 'good', [ 'bad' ] ] } }