Eric Blake <ebl...@redhat.com> writes: > On 08/08/2018 07:02 AM, Markus Armbruster wrote: >> Signed-off-by: Markus Armbruster <arm...@redhat.com> >> --- >> tests/check-qjson.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/tests/check-qjson.c b/tests/check-qjson.c >> index 81b92d6b0c..0a9a054c7b 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' },\n\t[ ], 42 ]\n", > > I would also test \r, since that is the final whitespace character > mentioned in RFC 7159.
Easy to do, so why not.