Add negative tests doc-bad-boxed-command-arg and doc-bad-event-arg to cover boxed and no arguments. They demonstrate insufficient doc comment checking. Update positive test doc-good to cover boxed event arguments. It demonstrates the generated doc comment misses arguments. These bugs will be fixed later in this series. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20191024110237.30963-3-armbru@redhat.com>
9 lines
150 B
JSON
9 lines
150 B
JSON
# Arguments listed in the doc comment must exist in the actual schema
|
|
# BUG: nonexistent @a is not rejected
|
|
|
|
##
|
|
# @FOO:
|
|
# @a: a
|
|
##
|
|
{ 'event': 'FOO' }
|