From: Markus Armbruster Date: Thu, 23 Aug 2018 16:39:31 +0000 (+0200) Subject: check-qjson: Cover whitespace more thoroughly X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5365490879199fbaa7fb4b3acf32e0624108e4d1;p=qemu.git check-qjson: Cover whitespace more thoroughly Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Message-Id: <20180823164025.12553-5-armbru@redhat.com> --- diff --git a/tests/check-qjson.c b/tests/check-qjson.c index 4daadc272b..188f683317 100644 --- a/tests/check-qjson.c +++ b/tests/check-qjson.c @@ -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[]){