check-qjson: Cover UTF-8 in single quoted strings
commit6ad8444f6aadb8b43c78583cab09e8839c79305f
authorMarkus Armbruster <armbru@redhat.com>
Thu, 23 Aug 2018 16:39:39 +0000 (23 18:39 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 24 Aug 2018 18:26:37 +0000 (24 20:26 +0200)
treeff4c22eb8484cd03bb243274baef6401d147022f
parent069946f402de10f544e198b0b5c016e2a70e8dd4
check-qjson: Cover UTF-8 in single quoted strings

utf8_string() tests only double quoted strings.  Cover single quoted
strings, too: store the strings to test without quotes, then wrap them
in either kind of quote.

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