aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.c b/test.c
index 6c4bf6f..77ce425 100644
--- a/test.c
+++ b/test.c
@@ -38,7 +38,7 @@ assert_streq_(const char *result, const char *expect, const char *code, int line
{
if (nulstrcmp(result, expect)) {
if (from_lineno)
- fprintf(stderr, "Assertion at line %i, form line %i failed:\n", lineno, from_lineno);
+ fprintf(stderr, "Assertion at line %i, from line %i failed:\n", lineno, from_lineno);
else
fprintf(stderr, "Assertion at line %i failed:\n", lineno);
fprintf(stderr, "\tcode: %s\n", code);
@@ -55,7 +55,7 @@ assert_zueq_(size_t result, size_t expect, const char *code, int lineno)
{
if (result != expect) {
if (from_lineno)
- fprintf(stderr, "Assertion at line %i, form line %i failed:\n", lineno, from_lineno);
+ fprintf(stderr, "Assertion at line %i, from line %i failed:\n", lineno, from_lineno);
else
fprintf(stderr, "Assertion at line %i failed:\n", lineno);
fprintf(stderr, "\tcode: %s\n", code);