QtTest: fix pretty-printing of QStrings containing "
It needs to be escaped with a backslash. Change-Id: Idf62914fca08eb6be8a039c2af72bac42c0d594a Reviewed-by: Jason McDonald <macadder1@gmail.com>
This commit is contained in:
parent
def272750c
commit
49052ba8a8
@ -2153,7 +2153,7 @@ char *toPrettyUnicode(const ushort *p, int length)
|
||||
break;
|
||||
}
|
||||
|
||||
if (*p < 0x7f && *p >= 0x20 && *p != '\\') {
|
||||
if (*p < 0x7f && *p >= 0x20 && *p != '\\' && *p != '"') {
|
||||
*dst++ = *p;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user