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>
This commit is contained in:
parent
137cf6a9be
commit
352ada9ad4
@ -359,7 +359,6 @@ qapi-schema += doc-missing-expr.json
|
||||
qapi-schema += doc-missing-space.json
|
||||
qapi-schema += doc-missing.json
|
||||
qapi-schema += doc-no-symbol.json
|
||||
qapi-schema += double-data.json
|
||||
qapi-schema += double-type.json
|
||||
qapi-schema += duplicate-key.json
|
||||
qapi-schema += empty.json
|
||||
@ -404,7 +403,6 @@ qapi-schema += ident-with-escape.json
|
||||
qapi-schema += include-before-err.json
|
||||
qapi-schema += include-cycle.json
|
||||
qapi-schema += include-extra-junk.json
|
||||
qapi-schema += include-format-err.json
|
||||
qapi-schema += include-nested-err.json
|
||||
qapi-schema += include-no-file.json
|
||||
qapi-schema += include-non-file.json
|
||||
|
@ -1 +0,0 @@
|
||||
tests/qapi-schema/double-data.json:2:41: Duplicate key "data"
|
@ -1 +0,0 @@
|
||||
1
|
@ -1,2 +0,0 @@
|
||||
# we reject an expression with duplicate top-level keys
|
||||
{ 'struct': 'bar', 'data': { }, 'data': { 'string': 'str'} }
|
@ -1,3 +1,3 @@
|
||||
# QAPI cannot include the same key more than once in any {}
|
||||
# Cannot include the same key more than once in any {}
|
||||
{ 'key': 'value',
|
||||
'key': 'value' }
|
||||
|
@ -1 +0,0 @@
|
||||
tests/qapi-schema/include-format-err.json:1: Invalid 'include' directive
|
@ -1 +0,0 @@
|
||||
1
|
@ -1,2 +0,0 @@
|
||||
{ 'include': 'include-simple-sub.json',
|
||||
'foo': 'bar' }
|
Loading…
Reference in New Issue
Block a user