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:
parent
a3694181e3
commit
5365490879
@ -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[]){
|
.decoded = QLIT_QLIST(((QLitObject[]){
|
||||||
QLIT_QNUM(43),
|
QLIT_QNUM(43),
|
||||||
QLIT_QDICT(((QLitDictEntry[]){
|
QLIT_QDICT(((QLitDictEntry[]){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user