OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a369418
)
check-qjson: Cover whitespace more thoroughly
author
Markus Armbruster
<armbru@redhat.com>
Thu, 23 Aug 2018 16:39:31 +0000
(18:39 +0200)
committer
Markus Armbruster
<armbru@redhat.com>
Fri, 24 Aug 2018 18:25:48 +0000
(20:25 +0200)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <
20180823164025
.12553-5-armbru@redhat.com>
tests/check-qjson.c
patch
|
blob
|
history
diff --git
a/tests/check-qjson.c
b/tests/check-qjson.c
index
4daadc2
..
188f683
100644
(file)
--- 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[]){