From: Michael Tremer Date: Sat, 26 Oct 2024 13:17:26 +0000 (+0000) Subject: tests: Actually print the line number X-Git-Tag: 0.9.30~830 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e92d5aa88f18642aba66445328103855fc2f29b0;p=pakfire.git tests: Actually print the line number Signed-off-by: Michael Tremer --- diff --git a/tests/testsuite.h b/tests/testsuite.h index a7e2e44d3..93f6daecd 100644 --- a/tests/testsuite.h +++ b/tests/testsuite.h @@ -108,7 +108,7 @@ static inline int testsuite_compare_string_arrays(char* array1[], char* array2[] ERROR: // Dump both arrays for (line1 = array1, line2 = array2, num = 0; *line1 && *line2; line1++, line2++, num++) { - printf("Line %zu:\n"); + printf("Line %zu:\n", num); printf(" 1: %s", *line1); printf(" 2: %s", *line2); }