aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/pragma-value-not-list-of-str.json
diff options
context:
space:
mode:
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' ] ] } }