check-qjson: Cover escaped characters more thoroughly, part 1
authorMarkus Armbruster <armbru@redhat.com>
Thu, 23 Aug 2018 16:39:35 +0000 (18:39 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 24 Aug 2018 18:26:37 +0000 (20:26 +0200)
commit4e1df9b73480420dbd5b2d22a42038079bb6e265
treee6a711d53e83a2ba389276a95b6a4a04c16d8227
parente2f64a688b70e2e6882b534f9a6a68ef589c261d
check-qjson: Cover escaped characters more thoroughly, part 1

escaped_string() first tests double quoted strings, then repeats a few
tests with single quotes.  Repeat all of them: store the strings to
test without quotes, and wrap them in either kind of quote for
testing.

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