check-qjson: Consolidate partly redundant string tests
commit069946f402de10f544e198b0b5c016e2a70e8dd4
authorMarkus Armbruster <armbru@redhat.com>
Thu, 23 Aug 2018 16:39:38 +0000 (23 18:39 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 24 Aug 2018 18:26:37 +0000 (24 20:26 +0200)
tree36311096f0a13289aa57b4a0c09fc7aa7d54ccd8
parente0fe2a978e9a8c0a712afa5cfd5bc38e389ae30f
check-qjson: Consolidate partly redundant string tests

simple_string() and single_quote_string() have become redundant with
escaped_string(), except for embedded single and double quotes.
Replace them by a test that covers just that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-12-armbru@redhat.com>
tests/check-qjson.c