1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-15 01:04:37 +02:00

Fix comment typos and formatting.

This commit is contained in:
David Steele
2024-05-23 08:19:50 +10:00
parent b6ac11beec
commit 91156bf7e1
3 changed files with 7 additions and 7 deletions

View File

@ -57,12 +57,12 @@ FN_EXTERN uint64_t jsonReadUInt64(JsonRead *this);
// Read key // Read key
FN_EXTERN String *jsonReadKey(JsonRead *this); FN_EXTERN String *jsonReadKey(JsonRead *this);
// Read an expected key // Read expected key
FN_EXTERN bool jsonReadKeyExpect(JsonRead *this, const String *key); FN_EXTERN bool jsonReadKeyExpect(JsonRead *this, const String *key);
FN_EXTERN bool jsonReadKeyExpectStrId(JsonRead *this, StringId key); FN_EXTERN bool jsonReadKeyExpectStrId(JsonRead *this, StringId key);
FN_EXTERN bool jsonReadKeyExpectZ(JsonRead *this, const char *key); FN_EXTERN bool jsonReadKeyExpectZ(JsonRead *this, const char *key);
// Read an required key // Read required key
FN_EXTERN JsonRead *jsonReadKeyRequire(JsonRead *this, const String *key); FN_EXTERN JsonRead *jsonReadKeyRequire(JsonRead *this, const String *key);
FN_EXTERN JsonRead *jsonReadKeyRequireStrId(JsonRead *this, StringId key); FN_EXTERN JsonRead *jsonReadKeyRequireStrId(JsonRead *this, StringId key);
FN_EXTERN JsonRead *jsonReadKeyRequireZ(JsonRead *this, const char *key); FN_EXTERN JsonRead *jsonReadKeyRequireZ(JsonRead *this, const char *key);

View File

@ -158,7 +158,7 @@ cmdTest(
} }
CATCH_ANY() CATCH_ANY()
{ {
// If this is the first build failure then clean the build path a retry // If this is the first build failure then clean the build path and retry
if (buildRetry == false) if (buildRetry == false)
{ {
buildRetry = true; buildRetry = true;

View File

@ -72,7 +72,7 @@ testRun(void)
"\"code\":1," "\"code\":1,"
"\"lock\":{\"backup\":{\"held\":false}}," "\"lock\":{\"backup\":{\"held\":false}},"
"\"message\":\"missing stanza path\"" "\"message\":\"missing stanza path\""
"}" "}"
"}" "}"
"]", "]",
// {uncrustify_on} // {uncrustify_on}
@ -125,7 +125,7 @@ testRun(void)
"\"code\":3," "\"code\":3,"
"\"lock\":{\"backup\":{\"held\":false}}," "\"lock\":{\"backup\":{\"held\":false}},"
"\"message\":\"missing stanza data\"" "\"message\":\"missing stanza data\""
"}" "}"
"}" "}"
"]", "]",
// {uncrustify_on} // {uncrustify_on}
@ -185,7 +185,7 @@ testRun(void)
"\"code\":99," "\"code\":99,"
"\"lock\":{\"backup\":{\"held\":false}}," "\"lock\":{\"backup\":{\"held\":false}},"
"\"message\":\"other\"" "\"message\":\"other\""
"}" "}"
"}" "}"
"]", "]",
// {uncrustify_on} // {uncrustify_on}
@ -3381,7 +3381,7 @@ testRun(void)
"\"code\":99," "\"code\":99,"
"\"lock\":{\"backup\":{\"held\":false}}," "\"lock\":{\"backup\":{\"held\":false}},"
"\"message\":\"other\"" "\"message\":\"other\""
"}" "}"
"}" "}"
"]", "]",
// {uncrustify_on} // {uncrustify_on}