aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/example.c b/doc/example.c
index 26d8f66..6341a1f 100644
--- a/doc/example.c
+++ b/doc/example.c
@@ -7,7 +7,7 @@ char *global_s;
* occurs either after an ASSERT fails or after the TEST is finished.
*
* defining one is optional, but, if used, REGISTER_TEARDOWN must appear
- * between BEGIN_TEST and the first TEST
+ * between BEGIN_TEST and the first TEST statement.
*
* here i'm using it to free memory that's alloced inside tests below */
void teardown(void)
@@ -49,7 +49,7 @@ TEST("type mismatch")
int i = 97;
char *b = NULL;
- /* for convenience's sake, when presented with unmatched types, assertions
+ /* for convenience's sake, when presented with mismatched types, assertions
* try to resolve them in a way that's most likely to match the
* programmer's intentions. here 'i' is interpreted as a char */
ASSERT_EQ(a, i);