| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
GTest has a lot of broken things with signed vs unsigned,
and double integer promotions, let's silence them.
|
| |
|
|
| |
This is the only nullable thing we have here.
|
| |
|
|
|
|
|
|
|
|
|
| |
The JSON encoder only looked at the top state, but did not
pop it, so if we nested objects, we got stuck in whatever
the last state we pushed aside was, so in our example, we
wrongly get a comma inserted _after_ key "b":
{"a":[{}],
"b":,[{}]
}
|
|
|
This allows us to correctly encode strings containing quotation
marks, escape characters and control characters.
The test case is a bit nasty because it embeds private-cachefile.cc
for linkage reasons.
|