diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-13 00:33:11 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-13 00:33:11 +0100 |
commit | 4d928693d2ab391bead9d39b88dbd05b2db1ded8 (patch) | |
tree | 6f6c1a2200aa1a2da8185ee8a52fd4bed62b0f7e /test.c | |
parent | m (diff) | |
download | libar2-4d928693d2ab391bead9d39b88dbd05b2db1ded8.tar.gz libar2-4d928693d2ab391bead9d39b88dbd05b2db1ded8.tar.bz2 libar2-4d928693d2ab391bead9d39b88dbd05b2db1ded8.tar.xz |
Fix typo
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | test.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -104,7 +104,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); @@ -121,7 +121,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); |