You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-18 23:57:33 +02:00
JSON improvements.
Optimize the parser implementation and make the renderer more null tolerant. Also make some string and variant constructors null tolerant.
This commit is contained in:
@ -161,7 +161,7 @@ testRun(void)
|
||||
// Various bogus greetings
|
||||
TEST_ERROR(
|
||||
protocolClientNew(strNew("test client"), strNew("test"), read, write), JsonFormatError,
|
||||
"expected '{' but found 'b'");
|
||||
"invalid type at 'bogus greeting'");
|
||||
TEST_ERROR(
|
||||
protocolClientNew(strNew("test client"), strNew("test"), read, write), ProtocolError,
|
||||
"greeting key 'name' must be string type");
|
||||
|
Reference in New Issue
Block a user