From 4d928693d2ab391bead9d39b88dbd05b2db1ded8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 13 Feb 2022 00:33:11 +0100 Subject: Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.c b/test.c index b38ce05..fbabc1c 100644 --- a/test.c +++ b/test.c @@ -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); -- cgit v1.2.3-70-g09d2