pgbackrest.git / summary / log / commit / refs
commit 91156bf7e1dec5dfeec18bf13a112d16e3badfda
Author: David Steele <david@pgmasters.net>
Date: Wed May 22 22:19:50 2024 +0000
Fix comment typos and formatting.
src/common/type/json.h | 4 ++--
test/src/command/test/test.c | 2 +-
test/src/module/command/infoTest.c | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/common/type/json.h b/src/common/type/json.h
index 330368b9b..47d3c594a 100644
--- a/src/common/type/json.h
+++ b/src/common/type/json.h
@@ -57,12 +57,12 @@ FN_EXTERN uint64_t jsonReadUInt64(JsonRead *this);
// Read key
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 jsonReadKeyExpectStrId(JsonRead *this, StringId 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 *jsonReadKeyRequireStrId(JsonRead *this, StringId key);
FN_EXTERN JsonRead *jsonReadKeyRequireZ(JsonRead *this, const char *key);
diff --git a/test/src/command/test/test.c b/test/src/command/test/test.c
index 5aa2d2de7..3bc420bd8 100644
--- a/test/src/command/test/test.c
+++ b/test/src/command/test/test.c
@@ -158,7 +158,7 @@ cmdTest(
}
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)
{
buildRetry = true;
diff --git a/test/src/module/command/infoTest.c b/test/src/module/command/infoTest.c
index a77c25875..826c967f5 100644
--- a/test/src/module/command/infoTest.c
+++ b/test/src/module/command/infoTest.c
@@ -72,7 +72,7 @@ testRun(void)
"\"code\":1,"
"\"lock\":{\"backup\":{\"held\":false}},"
"\"message\":\"missing stanza path\""
- "}"
+ "}"
"}"
"]",
// {uncrustify_on}
@@ -125,7 +125,7 @@ testRun(void)
"\"code\":3,"
"\"lock\":{\"backup\":{\"held\":false}},"
"\"message\":\"missing stanza data\""
- "}"
+ "}"
"}"
"]",
// {uncrustify_on}
@@ -185,7 +185,7 @@ testRun(void)
"\"code\":99,"
"\"lock\":{\"backup\":{\"held\":false}},"
"\"message\":\"other\""
- "}"
+ "}"
"}"
"]",
// {uncrustify_on}
@@ -3381,7 +3381,7 @@ testRun(void)
"\"code\":99,"
"\"lock\":{\"backup\":{\"held\":false}},"
"\"message\":\"other\""
- "}"
+ "}"
"}"
"]",
// {uncrustify_on}
[parent: b6ac11beec92]