check-qjson: Cover whitespace more thoroughly

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180823164025.12553-5-armbru@redhat.com>
This commit is contained in:
Markus Armbruster 2018-08-23 18:39:31 +02:00
parent a3694181e3
commit 5365490879

View File

@ -1236,7 +1236,7 @@ static void simple_whitespace(void)
})),
},
{
.encoded = " [ 43 , { 'h' : 'b' }, [ ], 42 ]",
.encoded = "\t[ 43 , { 'h' : 'b' },\r\n\t[ ], 42 ]\n",
.decoded = QLIT_QLIST(((QLitObject[]){
QLIT_QNUM(43),
QLIT_QDICT(((QLitDictEntry[]){