aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example.c
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2018-03-21 01:26:51 -0700
committerkatherine <shmibs@shmibbles.me>2018-03-21 01:26:51 -0700
commit00b9a76f9583ef8be6952f921ecd89cc5492375e (patch)
treea70a9ba548126198af187eb5ffe592308149e4e4 /doc/example.c
parentd64ce0ad863bd26a690120808554ab9080d1ec04 (diff)
downloadsimple-test-00b9a76f9583ef8be6952f921ecd89cc5492375e.tar.gz
proofread
Diffstat (limited to 'doc/example.c')
-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);