diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-13 00:32:56 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-13 00:32:56 +0100 |
commit | 8115823691d76f8af5c3bad665da5357b2e805e4 (patch) | |
tree | fc77ed827f38b2e97544439f82469f23d017f62b /test.c | |
parent | First commit (diff) | |
download | libar2simplified-8115823691d76f8af5c3bad665da5357b2e805e4.tar.gz libar2simplified-8115823691d76f8af5c3bad665da5357b2e805e4.tar.bz2 libar2simplified-8115823691d76f8af5c3bad665da5357b2e805e4.tar.xz |
Fix typo
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |